How to setup Authorize.Net Sandbox account in WooCommerce?
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.
Creating a sandbox account is free, and anyone can sign up for a sandbox account and take ‘test’ payments without a merchant account. I would recommend using a staging site to do test transactions.
To create an Authorize.Net sandbox account, go to their dev site and create your sandbox account.
See my tutorial for more info on how to setup Authorize.Net sandbox account to test transactions on WooCommerce:
Yes, Authorize.net accepts recurring payments and works on WooCommerce Subscriptions.
Visa, MasterCard, Discover Discover, American Express, Diners Club, and JCB.
Technically you could use the free plugin and get it to work on your store. However, the free plugin does not include Accept.js from Authorize Net. The paid plugin includes Accept.js. With Accept.js, your customer’s payment information is handled directly by Authorize Net and meets the lower level PCI SAQ A-EP compliance level. In addition, the free plugin is not updated as often as the paid version.
To create an Authorize.Net Merchant Account account, you will need to go sign up/fill out a form and then be approved. You can register at https://www.authorize.net/sign-up/pricing.html.
In my personal experience, after filling out your application, you are most likely able to start processing credit card payments within 24 hours on your WooCommerce site. I would recommend filling out the merchant application and then call their support line right away to make sure there are not any issues.