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

Users with /enrol/paypal:unenrol permission not able to edit or delete PayPal enrolments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.2.7, 2.3.4, 2.4.1
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      Hide
      1. Visit <yoursite>/admin/settings.php?section=manageenrols and turn on PayPal.
      2. Click on the settings and set PayPal your PayPal account
      3. In the config.php file add '$CFG->usepaypalsandbox = true;'
      4. Create a course that uses the PayPal enrolment plugin and set the price to $1.
      5. Log in as a student and click on the course, then the PayPal link.
      6. Enter your email and password.
      7. Confirm payment and click on the link to go back to your Moodle site.
      8. Login as admin or another user with the capability "enrol/paypal:unenrol".
      9. Go into the course created above.
      10. Go to "Course administration/Users/Enrolled users".
      11. The student you enroled above should be listed including the unenrol icon on the left side.
      12. Click on this icon and follow the process. There shouldn't be any error messages.
      13. Check that the user is unenroled from this course.
      Show
      Visit <yoursite>/admin/settings.php?section=manageenrols and turn on PayPal. Click on the settings and set PayPal your PayPal account In the config.php file add '$CFG->usepaypalsandbox = true;' Create a course that uses the PayPal enrolment plugin and set the price to $1. Log in as a student and click on the course, then the PayPal link. Enter your email and password. Confirm payment and click on the link to go back to your Moodle site. Login as admin or another user with the capability "enrol/paypal:unenrol". Go into the course created above. Go to "Course administration/Users/Enrolled users". The student you enroled above should be listed including the unenrol icon on the left side. Click on this icon and follow the process. There shouldn't be any error messages. Check that the user is unenroled from this course.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-34591_master

      Description

      Neither the manager nor the super admin can delete or edit a PayPal enrollment. Possibly related, the student cannot reenroll through PayPal. He/she can be enrolled manually, or by another method, but not through PayPal.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/Jan/13