How to setup Authorize.Net (and sandbox account) in WooCommerce?

WooCommerce, WordPress

In this guide, learn how to setup the Authorize.Net payment processor on your WooCommerce store.

Step 1: Download Authorize.Net plugin and enable in WooCommerce

The first step is to go to your WordPress dashboard, hover over WooCommerce, and go to the Settings.

Next, click the Payments tab.

Then, enable the Authorize.Net payment method and click Setup.

Next, go to Authorize.Net and sign in.

If you have not created an Authorize.Net account yet, create an account before proceeding.

Step 2: Get NVP/SOAP Integration (Classic) credentials

On your Authorize.Net dashboard, click the “Settings” icon in the top right hand corner and then “Website Payments” under the Products & Services sidebar menu.

Next, on the “Website Payments” page, scroll down to “NVP/SOAP Integration (Classic)” heading and click “Manage API credentials”.

Then, you will be to view your API username, API password, and Signature. Copy these values.

Finally, paste these values in your Authorize.Net settings on WooCommerce and click Save Changes.

Step 3: Enable Instant Payment Notifications (IPN)

If you want to enable Instant Payment Notifications, click enable IPN on your WooCommerce settings page.

Next, go back to your Authorize.Net dashboard and to your Website payments page.

Then, click IPN and enable and save changes.

How to create a sandbox account for Authorize.Net?

On your WordPress dashboard, hover over WooCommerce and click Settings.

Next, click the Payments tab and click Manage next to Authorize.Net.

Under Advanced Options, find “Authorize.Net sandbox” and click “Enable Authorize.Net sandbox”.

If you scroll to the bottom of your Authorize.Net settings page, you will notice we need to insert our Sandbox API username, Sandbox API password, and Sandbox API signature.

To get these we need to go to your Authorize.Net Developer account and Sign In.

On your Authorize.Net Developer Dashboard, under the Sandbox menu click Accounts.

Then, on the Sandbox Test Accounts page, click Create Account and create a Business Account.

After creating your Business Account, hover over the Manage tab and click “Profile” to see your Account Details. Toggle the tab to “API Credentials”.

Then, copy and paste the Username, Password, and Signature into your WooCommerce Authorize.Net sandbox settings.

Click Save changes.

Your sandbox account is all set up. The next step is to create a sandbox personal account to test transactions.

How can I test transactions using Authorize.Net Sandbox?

To test live transactions on your site, you will need to setup an Authorize.Net sandbox personal account.

First, go back to your Authorize.Net Developer account dashboard and click “Accounts” on the Sandbox menu.

Next, click “Create Account” and create a Personal Account. After creating your personal account, copy your email address and password.

Then, go back to your WooCommerce store, go to a product page, add the product to Cart, and go to your Checkout page.

How do I know sandbox mode is enabled?

On the Checkout page, you will notice the “SANDBOX ENABLED” shows up next to the Authorize.Net payment method.

Finally, click Proceed to Authorize.Net and enter in your personal sandbox account email address and password to complete your test transaction.  After your payment has been made, go back to your WooCommerce backend, click “Orders” to see your test order.

Resources

Leave a reply

Your email address will not be published. Required fields are marked*