Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84569

Swap buttons on the "Enrolment on payment" popup

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 5.0
    • 4.5.3
    • Enrolments
    • MOODLE_405_STABLE
    • MOODLE_500_STABLE
    • Hide

      Setup payment account

      1. Log in as admin
      2. Navigate to General > Payments > Payment accounts in site administration
      3. Press Create payment account
        • Account name: My test
      4. Press PayPal on subsequent table for your My test account
        • Enable: Yes (Checked)
        • Brand name: My test
        • Client ID: My test
        • Secret: My test
      5. Navigate to Plugins > Enrolments > Manage enrol plugins in site administration
      6. Enable Enrolment on payment
      7. Create a test course
      8. Navigate to course Enrolment methods
      9. Add Enrolment on payment
        • Payment account: My test
        • Enrolment fee: 10

      Test

      1. Create a test user
      2. Log out
      3. Log in as test user
      4. Navigate to following URL:

        <WWWROOT>/course/
        

      5. Press on your test course
      6. Press Select payment type under This course requires a payment for entry
      7. Confirm that the modal buttons are ordered [ Cancel ] [ Proceed ]
      Show
      Setup payment account Log in as admin Navigate to General > Payments > Payment accounts in site administration Press Create payment account Account name: My test Press PayPal on subsequent table for your My test account Enable: Yes (Checked) Brand name: My test Client ID: My test Secret: My test Navigate to Plugins > Enrolments > Manage enrol plugins in site administration Enable Enrolment on payment Create a test course Navigate to course Enrolment methods Add Enrolment on payment Payment account: My test Enrolment fee: 10 Test Create a test user Log out Log in as test user Navigate to following URL: <WWWROOT>/course/ Press on your test course Press Select payment type under This course requires a payment for entry Confirm that the modal buttons are ordered [ Cancel ] [ Proceed ]
    • Hide

      Code verified against automated checks.

      Checked MDL-84569 using repository: https://github.com/paulholden/moodle/

      More information about this report

      Built on: Mon Mar 17 10:46:11 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84569 using repository: https://github.com/paulholden/moodle/ main (0 errors / 0 warnings) [branch: MDL-84569 | CI Job ] More information about this report Built on: Mon Mar 17 10:46:11 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-84569 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18621/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/63761/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/63762/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/63763/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/63764/ App tests (stable app version) Built on: Mon Mar 17 12:26:26 UTC 2025

      1. Set up payment gateway and payment account
      2. Add an "Enrolment on payment" enrolment method to a course
      3. Login as a user who is not enrolled to the course and access the course enrolment page
      4. Click "Select payment type"
      5. You get to the popup selecting enrolment method, normally in all moodle popups the submit button is on the right from the cancel button but in this popup they are swapped

        1. pg_popup.png
          pg_popup.png
          30 kB
        2. MDL-84569.png
          MDL-84569.png
          135 kB

            pholden Paul Holden
            marina Marina Glancy
            Marina Glancy Marina Glancy
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 5 minutes
                1h 5m

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