When using the sandbox, what email should be put in "PayPal business email"(in, Home - Site administration - Plugins - Enrolments - Paypal)
Do I use my business paypal test account email, my normal paypal email, or leave it blank?
You will want to create a "seller" account within sandbox, and then use that email as the business email for moodle. You will want to make sure that the IPN Settings are correct inside the seller account. (By logging in using the seller email and password at https://www.sandbox.paypal.com/home )
Thanks, that is what I thought (and did). Still can't get it to ernol. Money flows to Paypal. If I understand the logs properly, they are not being formed (i.e. no logs show up in the enrol/paypal folder). Ultimate goal is to use a Paypal button with the IPN URL in the button. Here is what I've done:
1 |
Setup Paypal Sandbox: |
2 |
Setup Business Test Account (Record user ID and password) https://developer.paypal.com/devscr?cmd=_sandbox-acct-session |
3 |
Setup Personal Test Account ( Record user ID and password) https://developer.paypal.com/devscr?cmd=_sandbox-acct-session |
4 |
Put Business email in Moodle Paypal settings Home - Site Administration - Plugins - Enrolments - Paypal |
5 |
Modify enrol.html Located at: http://www.yourdomain/enrol/paypal/enrol.html Remove: <?php $paypalurl = empty($CFG->usepaypalsandbox) ? 'https://www.paypal.com/cgi-bin/webscr' : 'https://www.sandbox.paypal.com/cgi-bin/webscr'; ?>
Replace: <?php $paypalurl = 'https://www.sandbox.paypal.com/cgi-bin/webscr'; ?>
|
6 |
Enable IPN in Paypal Business account click here https://developer.paypal.com/devscr?cmd=_sandbox-acct-session |
7 |
Modify ipn.php (http://tracker.moodle.org/browse/MDL-30647) Replace with ipn-fixed.php http://tracker.moodle.org/secure/attachment/26347/ipn-fixed.php |
Setup of IPN
i am also trying to use paypal enrolment plugging, after following all these steps i am geting this eror
how can i solve this error .thanks