Autorize.net is a well-respected, international Payment Gateway with a many features and benefits. Authorize.net allows you to accept donations directly on your website easily and seamlessly.
After your Authorize.net Add-on is activated, go to “Donations > Settings” and click on the Payment Gateways tab. There you will see the default Payment Gateways (PayPal Standard, Test Payment, and Offline Donations). You should also see Authorize.net as an option as well. Click on that to enable Authorize.net as your credit card Gateway for your website.
If you would like to accept credit cards directly on your website with Authorize.net you will need an SSL certificate.
Obtaining your Authorize.net API Keys
Once you have activated the Add-on it’s time get your API Keys and configure Give to integrate with your Authorize.net account to accept donations.
NOTE: When you first sign-up for Authorize.net, they provide you with two items which cannot be recovered easily later. Make sure that after you sign-up that you take note of both your Secret Question, and your Transaction Key. These items can be used immediately, but if you forget them or misplace them you will not be able to recover them easily and will instead have to delete them and generate new keys.
After logging into your Authorize.net account, you’ll be presented with your Authorize.net Dashboard like the image above. From here, look in the left-hand sidebar and scroll down to the Account section and click on the Settings item. In the Settings page, look in the Security Settings and click on the link titled API Login ID and Transaction Key.
To integrate with Give, you need just two pieces of information:
- API Login ID
- Transaction Key
Both of these are available on this screen. The API Login ID is clearly labeled at the top of the page. But the Transaction Key is hidden. This is why it’s important to save that after you first sign-up for Authorize.net. If you didn’t save it, hopefully you saved the answer to your Secret Question. Because that’s the only way you’ll be able to recover that Transaction Key again. Input the Secret Answer in the field and you’ll be redirected to a page that provides you with your Transaction ID. Alternatively, you can select the Disable Old Transaction Key(s) checkbox and you’ll force the old key to be invalid and a new key to be generated.
Copy each key and go to your WordPress site. Go to “Donations > Settings” and click on the Payment Gateways tab. There you’ll see a section called Authorize.net Gateway Settings. Paste each key into it’s respective field, then hit save.
That’s all there is to it. Now when your donors come to your site, they’ll be able to use credit cards to donate to you directly in the currency of your country and not have to be redirected to another site.
Testing with Authorize.net’s Sandbox
Prior to going live with your donation forms, it’s recommended that you test thoroughly to prevent any issues with processing donations. Authorize.net has a sandbox version of their gateway for this specific purpose. The sandbox functions like the production environment except that no actual card processing is performed. The sandbox only simulates connections to the card networks, but no actual card payments are processed. See Authorize.net’s Testing Guide for additional information.
Let’s get started testing the integration between Give and Authorize.net.
First, you will need to setup an Authorize.net Sandbox Account:
Do you have a sandbox account now? Great! Let’s continue.
Setup Give for Testing
- Place Give into Test Mode
- Create a Donation Form as you prefer it to be configured
- Process a test donation using the test credit card numbers provided
- You can confirm the donation processed properly
- Confirm the donation completed in Give
- Confirm the proper subscription was created at the gateway
For more information on testing, please check out the testing Give.
Configuring Authorize.net to Accept Recurring Donations
Common Issues and Solutions with Authorize.net
Authorize.net is a powerful payment gateway with a whole slew of options and configurations. We want to help you get setup with Give and Authorize.net as easily as possible. The following are a few common issues and their resolutions:
Problem: Give displays “Error: Phone is Required” message when attempting to make a credit card donation.
Explanation: The Payment Form module in Authorize.net has a field that is checked as “required” but it isn’t being passed to the gateway, therefore it’s rejected.
Solution: Login to your Authorize.net account and click on the “Account” tab. Next, click on the “Payment Form” link within the Transaction Submission Settings section. On the Payment Form page click on “Form Fields”. Ensure no fields are checked as “required”. Give handles required fields on the donation form side. It is not necessary for any of the fields to be required within Authorize.net.