PayPal
Certified Partner Plugin
Maintained by
Daniel Neis Araujo
An Availability Condition to require a PayPal payment to access activities and resources.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Thank you for this plugin I would like to test on Moodle 3.8.
I put a restriction on a section and have the link for Paypal. But whenI I click on it, I have this error message : "error/support to sections not yet implemented." and it doesn't work.
Do you have any idea ?
Regards,
this plugin is for availability condition on resources, activities and course sections/topics, not for the enrolment method. The enrolment method, which will let users access courses upon payment is standard feature of Moodle. You should post your question at https://moodle.org/mod/forum/view.php?id=55 (General Developer Forum).
I made available on github a new version that must be compatible with 3.6, 3.7 and 3.8
Can someone test and give feedback, please? If it works I'll publish here too.
https://github.com/danielneis/moodle-availability_paypal/
Thank you for your work inthis plugin.
I have a problem with the plugin. In my moodle site version 3.8 and Adaptabel theme.
I installed it, activated my IPN in my PayPal account and I use HTTPS .
But the restricted activity only show a green rectangule with the word "Restricted", when the cursor place over it, it show a massage as follows:
"Restricted, Not available at least you made a payment with PayPal"
And it do not have any link that show me the payment request.
Please let me know if I need to do anything more in order to have this plugin working.
I will appreciate your answer...
C. Olvera
When I pay with paypal it redirect to the activity in moodle but it doesn't recognize the payment.
This is the error log.
500 POST /availability/condition/paypal/ipn.php PayPal IPN
Warning FastCGI sent in stderr: "PHP message: PHP Warning: require_once(/var/www/vhosts/moodle.prueba.edu/httpdocs/lib/eventslib.php): failed to open stream: No such file or directory in /var/www/vhosts/moodle.prueba.edu/httpdocs/availability/condition/paypal/ipn.php on line 36" while reading response header from upstream
Can anyone help me?
Many thanks, Jack
The plug-in worked fine but recently people are paying and the plugin does not enrolled them to the course
I got it working after that post. Thanks for replying.
I made available a version tested on 36. It may work from 3.2 onwards.
converting between currencies are managed by PayPal that has different rules in different countries.
You can have more than one button on same course (just add more enrol methods with other currencies) but I am not sure how PayPal will handle that at the end (if it will allow people to pay you in dollars, or other currencies)
How would paypal work for INR?
When INR is enabled in the plugin, suppose in the drop down of a course i select INR, can i get payments by foreign buyers who have USD balances? or any other currency balances?
or, can i put 2 paypal buttons - one for USD and one for INR?
Rekha