Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-16034

CLONE - Courses can have enrolment on payment


      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 the gear menu or the Administration block
      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.

        1. step1.png
          102 kB
        2. step2.png
          80 kB
        3. step5.png
          94 kB
        4. step6.png
          203 kB
        5. step6-a.png
          45 kB
        6. step6-b.png
          84 kB
        7. step7.png
          318 kB

            c.prudhomme Clement Prudhomme
            0 Vote for this issue
            1 Start watching this issue


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