PayPal provides a sandbox environment for you to test functionality. You can create sandbox accounts, view account notifications, view REST API calls, view webhook events, and simulate IPNs.
Use the dashboards to view the REST API call history for a specific app or all apps. Both dashboards list the REST API calls made by apps with related details. You can view the request and response messages of some REST API calls.
Important: You cannot run the following sample requests as-is. Replace all call-specific parameter values, such as tokens and IDs, with your own values.
|1.||Required||Set up your development environment.|
|2.||Required||Test PayPal payments.|
Set up your development environment
Before you can integrate Payments, you must set up your development environment. After you get a token that lets you access protected REST API resources, you create sandbox accounts to test your web and mobile apps. For details, see Get started.
Then, return to this page to integrate Payments.
Test PayPal payments
To test PayPal payments, you must be able to see transactions from the perspective of the buyer.
- Click Log In to log in to your PayPal account.
- Create a PayPal payment.
- To approve the payment, enter the email address and password for your buyer account.
- Execute the payment.
- To review the details of the completed payment, log in to your buyer account on the sandbox site.
For more information about PayPal payments, see accept PayPal payments.