How to create a PayPal Sandbox account on WooCommerce:
PayPal Sandbox is a virtual environment where you can test your newly integrated payment system in WooCommerce. A mock transaction is set up between a personal account and the store's business account.
This way you can check whether the integration works as expected without changing the processes in your WooCommerce live shop. The requirements for setting up a PayPal Sandbox mode are similar to those for a regular PayPal account.
These are the necessary steps:
Step 1: Activate the PayPal Sandbox
Go to WooCommerce > Settings > Payments and click Manage on the PayPal tab . Check the Enable PayPal Sandbox box at the top of the page .
Step 2: Create a new PayPal account or log in to your existing account
Create a personal PayPal Sandbox account. To do this, go to developer.paypal.com bc data mexico and log in to the dashboard. Under Sandbox Accounts, navigate to Create Account .
Step 3: Retrieve API credentials and merchant ID from your PayPal Sandbox account
You must connect your sandbox account to your WooCommerce store to successfully make a test payment.
To do this, retrieve your API credentials from your sandbox account via Paypal Developer Account > Dashboard > Sandbox > Accounts .
Select the Business Sandbox account by clicking View/Edit Account from the dropdown menu . Copy the API Username, Password and API Signature. Click the Profile tab and scroll down to find the Account ID, which is the Merchant ID.
PayPal Sandbox API Credentials
Retrieve the API credentials from your sandbox account
Paste the information from the sandbox account into WooCommerce and save it.
PayPal Sandbox API Credentials for WooCommerce Dashboard
Enter the API credentials and merchant ID into the WooCommerce dashboard
Step 4: Test purchase in your WooCommerce shop
Now the moment has come that you have been waiting for: the test.
Open an incognito window in your browser and go to the frontend of your e-commerce shop. Select a product from the shop, go to checkout and choose PayPal as the payment option.
Enter the email and password for your personal Sandbox account via PayPal Developer Account > Dashboard > Sandbox > Accounts .
PayPal Sandbox: Test PayPal for WooCommerce
-
- Posts: 89
- Joined: Tue Jan 07, 2025 5:26 am