HELP! Paypal external payment to create auto-enrollment for a new user

HELP! Paypal external payment to create auto-enrollment for a new user

by Diana Greenwell -
Number of replies: 1

HELP PLEASE!! I'm ready to throw the computer through the window!
have a moodlecloud 4.5 site with 14 courses. 

Only 1 course is designed to be self-directed without teacher facilitation. I am trying to sell this enrollment via a button on my website (or QR code).

I have set up enrolment on payment within moodlecloud and in the individual course. I have set up Paypal business.

Now, how do I connect them, so that when someone pays from a paypal button (or QR code) on an independent website an auto-enrollment is generated per the enrollment on payment settings?

The whole idea is to not have to manually enter the information and for users to have <nearly> immediate access to the moodle course.

Adding that at moment students only see the courses they are enrolled in. If they do enter the specific URL for the paycourse, they are invited to pay, so that part works.

I cannot be the only one with this issue -- I recall that several years ago, I did a small course for a group that set up an automatic enrolment on payment using paypal in this manner but now, post-pandemic, I cannot find them.

Thanking all in advance!

Average of ratings: -
In reply to Diana Greenwell

Re: HELP! Paypal external payment to create auto-enrollment for a new user

by Jordan Kintzle -
I am very interested in finding a solution for this as well. We like the Enrolment on Payment integration with PayPal, but we need to find a way to allow the purchase to occur before a user has been created. Registration is a huge blocker for course conversions.

If I could find a way to support this, I'd just put a purchasing mechanism directly on our website. But I haven't found a solution that can connect the external payment to the Moodle course. And for our use case, it is vital that the purchase can be completed without a user existing in the Moodle site.

Ideally, after the purchase is complete, Moodle would have this purchase information stored somewhere or at least have access to the information if it lives elsewhere. Then when the user registers for the first time, Moodle would detect the course purchase and automatically enroll the user in the course after registration.

I should note that I'm not limited to MoodleCloud, as we are hosting our own instance of Moodle.

At this point I'm investigating building a plugin for this, but its going to be expensive and it seems like a use case other should have already needed to solve. Does anyone have any solutions?