Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2171

Support paypal plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.0
    • 3.3.2
    • Enrolment
    • Hide

      Configure PayPal enrolment

      This is already done in prototype 3.3. If you will use this site to test the issue you can skip this section.

      1. Login in Moodle web as admin and go to Site administration > Plugins > Enrolments > Manage enrol plugins.
      2. Click the eye next to PayPal to enable it.
      3. Click "Settings" next to PayPal. In there, introduce a valid "PayPal business email".
      4. Now go to Site administration > Courses > Manage courses and categories and create a new course. Don't enrol anyone in the course.
      5. Go to the course and go to "Enrolment methods". To do so in Boost, you need to click the Gear icon in the course and select "More...". In there, select the "Users" tab and click in "Enrolment methods".
      6. In the "Add method" select, pick PayPal. Configure the instance name and the cost (it cannot be 0, I suggest you to use 0.01).

      Test the issue

      1. Install the app in an Android/iOS device or use Moodle Desktop.
      2. Login in the app as a student.
      3. In My Courses or Course Overview, click on the top right icon (magnifying glass) to search courses.
      4. Search the course with PayPal enrolment (in proto 3.3, search "PayPal"). Check that you see the PayPal icon at the right of the course.
      5. Click on the course. Check that you see a message saying that PayPal is enabled and there is a button to pay with PayPal.
      6. Click the button. Check that InAppBrowser is opened with the course (you might have to login first). Proceed with the PayPal enrolment in the InAppBrowser until it's done.
      7. In Android/iOS device, the InAppBrowser should be closed automatically once you reach the course contents after enrolling. In MoodleDesktop it might not be closed automatically, so you might have to close it yourself when you reach the course contents.
      8. After InAppbrowser is closed, check that the app data is refreshed and now you see the course options: contents, participants, etc.
      Show
      Configure PayPal enrolment This is already done in prototype 3.3. If you will use this site to test the issue you can skip this section. Login in Moodle web as admin and go to Site administration > Plugins > Enrolments > Manage enrol plugins. Click the eye next to PayPal to enable it. Click "Settings" next to PayPal. In there, introduce a valid "PayPal business email". Now go to Site administration > Courses > Manage courses and categories and create a new course. Don't enrol anyone in the course. Go to the course and go to "Enrolment methods". To do so in Boost, you need to click the Gear icon in the course and select "More...". In there, select the "Users" tab and click in "Enrolment methods". In the "Add method" select, pick PayPal. Configure the instance name and the cost (it cannot be 0, I suggest you to use 0.01). Test the issue Install the app in an Android/iOS device or use Moodle Desktop. Login in the app as a student. In My Courses or Course Overview, click on the top right icon (magnifying glass) to search courses. Search the course with PayPal enrolment (in proto 3.3, search "PayPal"). Check that you see the PayPal icon at the right of the course. Click on the course. Check that you see a message saying that PayPal is enabled and there is a button to pay with PayPal. Click the button. Check that InAppBrowser is opened with the course (you might have to login first). Proceed with the PayPal enrolment in the InAppBrowser until it's done. In Android/iOS device, the InAppBrowser should be closed automatically once you reach the course contents after enrolling. In MoodleDesktop it might not be closed automatically, so you might have to close it yourself when you reach the course contents. After InAppbrowser is closed, check that the app data is refreshed and now you see the course options: contents, participants, etc.
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

      We can just display the button to launch the enrolment process (and an additional button to say I already paid so the page is refreshed).

      I think this will solve most of the cases, the payment will be done in the normal stock browser.

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Berta Maroto Berta Maroto
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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