Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17120

CLONE - An administrator can enable PayPal enrolment


      Test requirements:

      • A Moodle installation that is visible on the internet.
      • A PayPal developer account and sandbox accounts (at least 1 facilitator/business and 1 buyer account). For more information, see https://developer.paypal.com/developer/accounts/
      • Optional: Set up Moodle SMTP settings.
      • Set $CFG->usepaypalsandbox = true; in your config.php to use sandbox account for testing.

      Test steps:

      1. Log in as an administrator and enable PayPal enrolment via 'Manage enrol plugins' in the Site administration.
      2. In the PayPal enrolment settings, set "PayPal business email" to PayPal facilitator sandbox account.
      3. Go to a course then 'Enrolment methods' via Participants tab (or the Administration block is using Classic theme).
      4. Add PayPal as an enrolment method and set "Enrol cost" to 1.
      5. Log in as a student and attempt to enrol in the course by clicking the "Send payment via PayPal" button.
      6. Confirm payment and click on the link to go back to your Moodle site.
      7. Verify that you are enrolled in the course. (If you obtain a message saying that the payment has not yet been fully processed, please wait a moment before verifying that you are indeed enrolled in the course.)
      8. Log in as an administrator again and backup the course.
      9. Restore it as a new course and verify that it has PayPal as an enrolment method.

        1. restored Boosted.png
          restored Boosted.png
          61 kB
        2. restored Classic.png
          restored Classic.png
          115 kB
        3. verified payment Boosted.png
          verified payment Boosted.png
          20 kB
        4. verified payment Classic.png
          verified payment Classic.png
          37 kB

            meowmiomew Ron Carl Alfon Yu
            0 Vote for this issue
            1 Start watching this issue


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