While working in a project in eSpace contains e-commerce handling, I wanted to test my code against PayPal payment gateway. I found that PayPal have a test server called PayPal Sandbox. Using this test server you can simulate all the transactions you want to do over the actual PayPal account.
PayPal Sandbox contains the following features:
- Simulate actual transactions (authorize, purchase, credit, etc).
- You can create test accounts for sellers/buyers as many as you want.
- Every created test account will have its own credit card (fake one). You can use it to test you transactions and its balance will reflect your applied transactions.
- You can use any of your seller/buyer test accounts to enter the paypal test site and trace its transactions, create reports, etc.
- You can access this test sandbox from your code through PayPal APIs.
But, it contains some drawbacks:
- The given test credit cards does not contain verification code (CVV code), but you can use "000" instead of it in your tests.
- When you enable the API in your Paypal account, you will get API user name, API password and either a signature string or certificate file. Using Sandbox you will get only the signature string.
No comments:
Post a Comment