Want to use WordPress and Authorize.Net? Start accepting credit card payments with Authorize.Net payment forms on your WordPress site!
Approximate read-time: 4 minutes
Planning an Authorize.Net WordPress site? With the right WordPress plugins, this is really easy.
Today we'll show you how to accept credit cards, signature debit cards, and other online payments your Authorize.Net account can handle. It's all about setting up your Authorize.Net payment gateway integration in WordPress.
That means you'll need a trusty integration and some WordPress forms. If you're a hotshot developer, you could set this up yourself. Of course, then you'd be building an Authorize.Net WordPress integration from scratch!
In this guide, we'll walk you through a process that is much easier. If you can install a WordPress plugin, you can do this. Let's get to it!
Setting up your WordPress Authorize.Net payment form
The following steps will work for both merchant and sandbox accounts.
A few things before we get started
It should go without saying, but you'll need to sign up for an Authorize.Net account if you haven't already. Also, be sure to set your environment to Live before using your form.
Also, one thing to keep in mind is that you need an SSL-ready site to accept payments. If you don't already have an SSL-certificate, you can get one for free from LetsEncrypt.
Finally, this tutorial uses the Formidable Forms plugin to build forms and connect WordPress to our Authorize.Net integration. Check out our pricing page to get started with Formidable. Once you have your Formidable premium account, download and install the Authorize.Net integration.
If you currently run a WooCommerce store, you'll be happy to know Formidable has a WooCommerce form builder as well! This allows you to extend your WooCommerce store in a variety of ways. It also makes connecting your Authorize.Net account easy.
Speaking of connecting your Authorize.Net account, let's get to it!
Connect your Authorize.Net payment gateway to WordPress
Got the Authorize.Net plugin activated? Next, we need to integrate your Authorize.Net merchant account with Formidable Forms.
It will involve your login ID and transaction key. Your API login ID is a bit of code that helps your site communicate with Authorize.Net.
Sounds complicated, but it's not! Just log in to your Authorize.Net Merchant account and follow the steps here. In the previous link, you'll also find useful info about SSL and about handling credit card details properly.
Set up an Authorize.Net payment form
There are two major components of your WordPress Authorize.Net payment form:
- The ability to collect payment info
- Authorize.Net form actions
1. Collect payment info
Most users will want to collect payment info through credit cards. To do this within Formidable Forms, create a form and add a Credit Card field to your form.
Note: Recurring payments are not currently supported.
2. Create your Authorize.Net form action
After you have your credit card field ready in your form, the next step is to add a form action to handle the payment. A form action is, of course, an action that takes place when a form is submitted.
So in other words, when somebody submits their credit card info, you need to set things up properly so the payment is directed to Authorize.Net. In your form settings, just click the Collect a Payment action to get started:
Then, fill out the details below to configure your form properly (don't forget to set the payment method!):
Next, make sure the customer information is coming from the correct fields in your form:
And finally, if you collected shipping information, make sure that is connected properly too:
Bonus: conditional logic
Want to send users to a checkout page after they register for your site? Send them an email after the payment receipt is confirmed? Form actions and conditional logic can do that!
Learn more about why Formidable Forms is the ultimate conditional logic WordPress plugin!
There you go! Setting up your Authorize.Net payment solution isn't that difficult if you have the right tools. Thanks for stopping by today. For more WordPress tips, come back to the Formidable blog often! See ya.