Test Your Integration and Go Live

Test

The PayPal test environment, sandbox, is a mirror of the PayPal live system. Any part of the PayPal integration can be tested in this environment without real funds being moved.

PayPal recommends using the sandbox for ensuring your integration is working before switching to the live system.

Go live

When testing is complete and you are ready to go live:

  1. Change the API endpoint from https://api.sandbox.paypal.com to https://api.paypal.com.
  2. Change the environment in the configuration element of the PLUS library by commenting out "mode": "sandbox" or replace sandbox with live.
  3. Change your sandbox client ID and secret credentials to the live client ID and secret credentials. To get the live credentials, generate a new REST app or navigate to the credentials view of your app and switch to live
  4. Enable your live account for PayPal PLUS.