Thank you
The first setting is your PayPal email address. This is the address associated with your PayPal account.
Next,
1. Log in to your PayPal account.
2. Hover over the cog in the upper right corner of the screen and select Account Settings
3. Under the Products & Services heading, click on Website payments on the left side of the screen
4. Click the Update link next to Website Preferences
5. Set Auto Return to On
6. For the return URL, enter your webpage URL.
7. In Payment Data Transfer, click the On option.
8. Click Save.
Enable instant payment notifications (IPN)
PayPal can provide more details, but as a high-level overview you will:
·PayPal business email - This setting is case sensitive and must exactly match that in PayPal
·Default role assignment - This means the role that a new user will automatically be given in a course when they purchase access. Usually this would be "student" unless you have a special reason for choosing another role. As for other default settings, it may be overridden in individual courses.
Tip: If you wish to allow users to create their own accounts on your site then
you need to set up Email based self registration.
Please remember to disable the sandbox and add the original email ID (not the sandbox app’s one )when you are in live mode.
And, please remember that this settings is applied to every course that has PayPal Subscription as the enrolment method. If you do not create a custom PayPal subscription enrolment method/ instance, the cost that is set in this settings will be applied.
Course settings for PayPal/ custom PayPal subscription enrolment method/ instance
Note: Make sure you don't have Self enrolment enabled as this would allow users to access the course without paying. If you do need some users to self enrol for free, then add an Enrolment key in the self enrolment settings.
Enrollment durationIf you want to set the enrollment duration, then the user will be unenrolled from the specific course after exceeding the enrollment duration. Otherwise, users will remain enrolled.You can also unenroll a user from a specific course using the admin subscription status page.Subscription IntervalThis is a mandatory setting, and it is not infinite. The valid range isValid subscription interval value is:The valid range for Days is 1 to 90.The valid range for Weeks is 1 to 52.The valid range for Months is 1 to 24.The valid range for Years is 1 to 5.The valid range for the subscription interval cycle is 1 to 52If you want to change the cycle times displayed on the purchase page then you must change it manually. First you must go Moodle folderMoodle > Enrol > PayPal/Subscription > Enrol.phpSubscription Status pageYou have to add a menu on your Moodle instance and put the URL that is given below/enrol/paypalsubscription/subscriptions.php
When a new user clicks on your course link, they will see a message inviting them to go to PayPal to purchase access to the course.