Test Payments

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.

The Sandbox API Calls dashboard lists REST API calls that are tied to your sandbox account. The Live API Calls dashboard lists REST API calls in the live environment.

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.

Integration steps

1. Required Meet the prerequisites.
2. Required Test PayPal payments.

Prerequisites

  1. To receive payments in a currency that you do not hold, first configure your Payment Receiving Preferences in your PayPal account. Otherwise, your payment status might be pending until you manually approve the payment in your PayPal account.

  2. To receive guest checkout payments, which allow credit cards, enable the PayPal Account Optional option in your account settings. The path to this option for US accounts is:

    Profile > My selling tools > Website preferences > PayPal Account Optional

Test PayPal payments

To test PayPal payments, you must be able to see transactions from the perspective of the buyer.

  1. Click Log In to log in to your PayPal account.

  2. Create a PayPal payment.

  3. To approve the payment, enter the email address and password for your buyer account.

  4. Execute the payment.

  5. 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.

Additional information

Feedback