In this guide, learn how to setup a Authorize.Net sandbox account for your WooCommerce store.
To clarify, this is for the official Authorize.Net WooCommerce plugin. A sandbox account allows you to create test transactions on your WooCommerce store.
Let’s jump into it!
How to create a sandbox account for Authorize.Net?
- Enable test mode in WooCommerce
- Create your sandbox account
- Paste your Sandbox API credentials in WooCommerce
- Do a test transaction on your site
- Video Tutorial
Creating a sandbox account with Authorize.Net allows you to do test orders on your WooCommerce store. I would recommend using a staging site to do test transactions.
Step 1: Enable test mode in WooCommerce
Go to your WooCommerce dashboard > Settings > Payments > Authorize.Net and make sure the gateway is enabled.
Switch the environment to “Test”.
Step 2: Create your sandbox account
Go to https://developer.authorize.net/hello_world.html and click ‘CREATE A SANDBOX ACCOUNT’.
Pro tip: if you end up forgetting your API credentials or the email address you used, do not worry. You can always create another sandbox account if need be.
Step 3: Paste your Sandbox API credentials in WooCommerce
Copy your Sandbox API credentials to your WooCommerce site. Save changes.
The easiest way to do this is to split your screen like in the screenshot below.
Now you will be able to do test transactions on your WooCommerce store!
Step 4: Do a test transaction on your site
Go to the frontend of your WooCommerce site or open up an incognito window to simulate how a customer would go through the purchase process on your site.
Add a product to your Cart and go through the Checkout process.
Reference the Authorize.Net testing guide for test credit card numbers that work in the sandbox. I provided examples below of test credit card numbers that work.
Visa example (3-digit CVV code)
Card number: 4007000000027 Expiration: 01/21 Card Security Code: 123
American Express example (4-digit CVV code)
Card number: 370000000000002 Expiration: 08/25 Card Security Code: 1111
If you are having trouble, follow along to this video tutorial below.