Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18363

CLONE - Courses can have enrolment on payment

    XMLWordPrintable

Details

    Description

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      Test requirements:

      Test steps:

      1. Log in as an administrator and enable PayPal gateway in "Site administration > Plugins > Payment gateway > Manage payment gateways" (it is enabled by default).
      2. Create a Payment account via "Site administration > Payments > Payment accounts".
        1. Configure the PayPal gateway clicking "PayPal" under "Payment gateways column". Use the Client ID and Secret you have for your Sandbox App in PayPal. Make sure to set the environment to "Sandbox" and check "Enable".
      3. Visit "Site administration > Plugins > Enrolments > Manage enrol plugins" and enable the "Enrolment on payment" plugin
      4. Go to a course 'Enrolment methods' via Participants tab (or the Administration block is using Classic theme)
      5. Add Enrolment on payment as an enrolment method and set "Enrol cost" to $10
      6. Log in as a student and attempt to enrol in the course
      7. Click on Select payment type button, select PayPal as the payment method, and then proceed with the payment on PayPal using a sandbox personal account
      8. Verify that you are enrolled in the course after you proceed with the payment.

      Attachments

        1. paymentgateway_enrolment.png
          paymentgateway_enrolment.png
          64 kB
        2. paymentgateway_error.png
          paymentgateway_error.png
          68 kB
        3. paymentgateway_settings.png
          paymentgateway_settings.png
          51 kB
        4. paypal402_1.png
          paypal402_1.png
          66 kB
        5. paypal402_2.png
          paypal402_2.png
          30 kB
        6. paypal402_3.png
          paypal402_3.png
          63 kB
        7. paypal402_4.png
          paypal402_4.png
          54 kB
        8. paypal402_5.png
          paypal402_5.png
          98 kB
        9. paypal402_6.png
          paypal402_6.png
          95 kB
        10. paypalretest_1.png
          paypalretest_1.png
          48 kB
        11. paypalretest_2.png
          paypalretest_2.png
          34 kB
        12. paypalretest_3.png
          paypalretest_3.png
          96 kB
        13. paypalretest_4.png
          paypalretest_4.png
          31 kB

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.