Setting Up a PayPal Sandbox
The PayPal Sandbox is a testing environment that duplicates a live PayPal site, but without actually processing a transaction. The Sandbox allows you to test your entire integration before submitting transactions to the live PayPal environment. You can also create and manage test accounts, and view emails and API credentials for those test accounts.
The PayPal Sandbox can be used to test the following payment solutions:
Note: For more information visit PayPal Sandbox User Guide
To set up a sandbox account:
- Go to developer.paypal.com and log in. If you don’t already have an account, you need to create one.
- Select Test Accounts from the left side panel.
- Under New test account, click Preconfigured to create a new test account.
- Enter all the information necessary. Make sure Buyer account type is selected.
Note: Be sure to record this account email and password, as you will use it to simulate a payment transaction.
- Click Create Account to create this buyer test account.
To create a business sandbox account:
- Go to developer.paypal.com and log in. If you don’t already have an account, you need to create one.
- After logging in, select Test Accounts and click the Create Test Account link.
- Under New test account, click Preconfigured to create a new test account.
- Enter all the information necessary. Make sure Seller account type is selected.
Note: Be sure to record this account email and password, as you will use it to simulate a payment transaction.
- Click Create Account to create this account.
To configure sandbox account in Magento:
- Find the payment solution you want to set up, and click the Configure button. (In this example, we select PayPal Payments Standard.)
- In the Basic Settings - PayPal Payments Standard section, click Advanced Settings.
- Set Sandbox Mode to “Yes.”
- Click the Save Config button to save the settings.
Once configured, run some test transactions to make sure that your PayPal setup is capturing and processing the orders correctly.

Activating Sandbox Mode
Still have questions? Submit them below and they'll be answered by our expert support team.
Like what you read? Drop us a note with your feedback below.