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:
- Change the API endpoint from
https://api-m.sandbox.paypal.com
tohttps://api-m.paypal.com
. - Change the environment in the configuration element of the PLUS library by commenting out
"mode": "sandbox"
or replacesandbox
withlive
. - 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
- Enable your live account for PayPal PLUS.