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

    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 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.

        Attachments

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

          Issue Links

            Activity

              People

              Assignee:
              c.prudhomme Clement Prudhomme
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: