| 1 |
|
Testing Paypal |
| 2 |
|
-------------- |
| 3 |
|
The paypal sandbox works just like regular paypal (with transactions and everything) |
| 4 |
|
except no actual money gets transferred. It allows you to create mock accounts (seller |
| 5 |
|
and buyer) and create transactions between them. |
| 6 |
|
|
| 7 |
|
1. Sign up for an account at developer.paypal.com, receive the activation e-mail and |
| 8 |
|
activate the account |
| 9 |
|
2. Log in, go to "test accounts" and create a business (seller) account and personal |
| 10 |
|
(buyer) account. |
| 11 |
|
3. In whichever module you're using that uses simple_paypal, set the paypal e-mail |
| 12 |
|
address to your business account e-mail address. |
| 13 |
|
4. In /admin/settings/paypal, be sure to select the paypal sandbox URL. |
| 14 |
|
|
| 15 |
|
That's it. When a transaction has been completed, paypal should send a POST request to |
| 16 |
|
the URL specified at the 'notify_url' variable. |