How to Test Authorize.Net Payments Before Accepting Real Payments

Do you want to test your Authorize.Net connection before accepting real payments through your WordPress forms? Testing your connection allows you to ensure that your configuration is working properly, and to fix any errors before going live.

In this tutorial, we’ll show you how to perform test Authorize.Net transactions within WPForms.

  1. Enabling Authorize.Net Test Mode
  2. Generating Test Keys
  3. Creating a Form to Test Payments
  4. Enabling Authorize.Net Payments
  5. Publishing Your Form and Performing a Test
  6. Viewing Test Transactions in Your Account
  7. Switching to Live Mode

Requirements: You’ll need a Elite license level to access the Authorize.Net addon.


Enabling Authorize.Net Test Mode

Before we get started, make sure you’ve installed and activated the Authorize.Net addon.

Once you’ve installed and activated the addon, you can enable test mode for your Authorize.Net integration under WPForms » Settings » Payments.

Payments tab in WPForms

Within those settings, scroll down to the Authorize.Net section and check the Test Mode option to enable Test Mode.

Enable Test Mode for Authorize.Net

This will open up two additional fields you’ll need to fill out: Test API Login ID and Test Transaction Key.

Test login and Key for Authorize.net

Generating Test Keys

To generate a Test API Login ID and a Test Transaction Key, you’ll first need to login to your Authorize.Net Sandbox account. If you don’t already have a Sandbox account, go ahead and create one now.

Right after you log into your Authorize.Net sandbox account, you should see an overlay showing whether your account is in Test or Live mode. Be sure that this option is set to Live, as this will allow you to view your test transactions within your Sandbox account.

Authorize Net account is in Live mode

After ensuring that your Sandbox is in Live mode, go ahead and exit out of that overlay by clicking the Remind Me Later option. Then, within the left sidebar, click on Settings.

Open Authorize Net account settings

From there, you’ll then need to click on the option named API Credentials and Keys.

Open API Credentials and Keys page in Authorize Net account

On this page, go ahead and copy the value next to API Login ID.

Copy API Login ID from Authorize Net account

Back in your WPForms Settings page, you’ll need to paste this value into the Test API Login ID field.

Paste API Login ID into WPForms settings

Once you’ve added your Test API Login ID, you’ll need to generate a transaction key within your Authorize.Net Sandbox account.

To do this, switch back over to the page with your Sandbox account settings and look for the section labeled Create New Key(s). Then, under the Obtain option, select New Transaction Key. Once you’ve selected this option, go ahead and click the Submit button.

Create new transaction key in Authorize Net account

Immediately after submitting, you should see an overlay asking you to verify your identity. You’ll need to click the Request PIN button to start this verification process.

Verify identify for Authorize Net

After submitting the request, you’ll be asked to check your email for the PIN. Be sure to enter the value from your email, then click the Verify PIN button.

Now that your identity has been verified, Authorize.Net will display your Transaction Key.

Copy Transaction Key from Authorize Net account

You’ll need to carefully copy this key, then flip back over to the tab or window with your WPForms Settings. Be sure to paste this key into the Test Transaction Key field, then click Save Settings.

Save completed Authorize Net settings in WPForms

Creating a Form to Test Payments

Next, you’ll either need to create a new form or edit an existing form. In our example, we’ll use the Billing / Order Form template.

Billing / Order Form Template

Then, you’ll need to make sure you have added an Authorize.Net field to your form.

Add Authorize.Net Field

This will add a credit card field that will allow your users to make a payment directly within your form.

Note: You will need to have an SSL connection on your site to perform transactions through your forms. In most cases, your hosting provider can help you get an SSL connection set up on your site.

Enabling Authorize.Net Payments

Once you’ve set up your form, you’ll need to turn on Authorize.Net payments. You can do this by going to Payments » Authorize.Net and checking the box labeled Enable Authorize.Net Payments.

Enable Authorize.Net Payments

This will open up additional settings for you to fill out. However, none of these fields are required for testing purposes, so we’ll leave those blank.

After you’ve got everything set up, be sure to save your form.

Publishing Your Form and Performing a Test

Once your form is set up, you can test things out on the frontend of your site. To do this without publishing the form to a live page, you can use the form preview option in WPForms, or you can add your form to a private page or post. Then, go ahead and submit a test of your form.

Note: While Authorize.Net is in test mode, you will not be able to use real credit card numbers in your test form. Instead, you’ll need to enter a special test card number provided by Authorize.Net. To find a list of test credit card numbers and CCV codes, be sure to check out Authorize.Net’s testing guide.

Viewing Test Transactions in Your Account

By default, Authorize.Net will send you a receipt via email for test transactions. However, if you’d like to also view your test transaction from within your Sandbox account, click on the Unsettled Transactions option to view recent transactions.

View Unsettled Transactions in Authorize.Net

In this section, you’ll be able to see the test transaction you submitted. To view more details about the transaction, you can click on the Transaction ID number for a specific entry.

Test Transaction ID in Authorize.Net

Switching to Live Mode

After you’ve confirmed that your Authorize.Net payments are working as they should, you’re ready to switch your connection over to Live mode. To do this, simply head over to your Authorize.Net settings within WPForms and uncheck the box labeled Test Mode.

Turn Off Test Mode in Authorize.Net

Note: If you haven’t already, you will need to generate keys for Live Mode from within your Authorize.Net Merchant account.

Once you’ve unchecked this box, be sure to click the Save Settings button to save your settings.

That’s it! We just showed you how to test out your Authorize.Net payments in WPForms.

Next, would you like to allow users to choose which payment method they use during checkout? Check out our tutorial on how to allow users to choose a payment method within your forms for more details.