Just to clarify my post about the use of Paypal Developer Sandbox.
This system works just the same as the Live Paypal site, except that you are using "dummy" merchants and buyers. The dummy buyers have their own dummy credit card details and you can make dummy purchases. Everything works with moodle just the same as the live site.
The only thing that needs editing in your paypal plugin is the form action url in /paypal/enrol.html
instead of: <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
Signing up for a Paypal developer account is a fairly painless process, https://developer.paypal.com/cgi-bin/devscr?cmd=_home
This info from the Paypal Developer site.
The Sandbox is a safe testing environment where you can test PayPal features such as Website Payments, IPN, and Web Services. The Sandbox is a mirror of the real PayPal site except that real financial transactions are not made.
Tips for using the Sandbox
For more information, view the Sandbox User Guide
- Sandbox accounts are not in any way tied to your PayPal account on www.paypal.com
- When creating a Sandbox account, your email address attached to that account does not need to be real. It can be any email address, as long as the email address does not already exist on the Sandbox.
- Email from the Sandbox will never be delivered to the email address you enter. All email generated by the Sandbox is captured and displayed by the Developer Central email client.
- After creating a Sandbox account, you may want to confirm the email address for the sandbox user. Check the email client on Developer Central to confirm your email address.
- After creating a Sandbox account, you can also attach a test credit card and bank account for testing.
I understand that Nicole is saying it's easy to just do small purchase amounts with your own credit card, however, this system negates the need to use your own card and for those people who dont have a credit card.....they must be out there.
It's also handy for running multiple tests.