Integrating with Authorize.net for eCommerce

Be sure to review our overview of eCommerce Setup guides: Introduction to eCommerce

Note

Academy of Mine does not directly collect payments. In order to collect payments, you will need to sign up with a third party payment gateway, such as Authorize.net, then connect it with the Academy of Mine platform using the API credentials provided by the payment gateway. Before proceeding with this guide, you must sign up for an Authorize.net account.

Authorize.net is an online payment processing platform that allows businesses to send and receive payments over the internet. It is fully integrated into Academy of Mine's checkout process. Payments made in Academy of Mine will be passed on to Authorize.net for collection.

This guide will help you complete your Authorize.net integration, set up testing, and ultimately go live to collect real payments. 

In this article

Setting Up the Authorize.net Integration

1

eCommerce settings can be found in the dashboard at eCommerce > Settings > General

2

eCommerce integrations can be found in the dashboard at eCommerce > Settings > Payment

3

Select Manage in the Authorize.net section to enter the Authorize.net Settings page.

(image altered for security purposes)

Create a Title

The title you add will appear on the Payment Details section of your checkout page.

Add Your API Credentials

Warning

Authorize.net has two sets of API keys, one for testing and one for real payments. You must use the test keys first, and once you are ready for real payments, you will swap the test keys for the live keys.

Authorize.net's test keys are found in the Sandbox account at sandbox.authorize.net. You must use these before you swap them for the live keys.

1

In Authorize.net, API credentials can be found at Account Settings > API Credentials & Keys

2

The Login ID will be displayed on the page.

3

A New Transaction Key and Signature Key can be generated in the Create New Key(s) section.

4

Back in Academy of Mine, enter your Login ID, Transaction Key, and Public Client Key (Signature Key).

(image altered for security purposes)

Set Your Payment Form Fields

1

Your customer billing information payment form fields in Authorize.net must match the checkout page on Academy of Mine.

2

In Authorize.net, navigate to Account > Payment Form > Form Fields

3

Check the boxes to match the Academy of Mine checkout page.

Enable Authorize.net

Before you begin testing in your account, you must enable Authorize.net. If Authorize.net is not enabled, your Academy of Mine account will not connect with your Authorize.net account.

Begin Testing

Warning

You cannot use a live credit card during testing. You must use Authorize.net's test credit card numbers. View this Authorize.net testing guide for a list of transaction amounts and credit card numbers to complete your testing.

Once you have successfully added your Sandbox API credentials, you are ready to attempt test purchases of your Products.

1

In Authorize.net, confirm that your account is in Test Mode.

2

When checking out and placing an order, it is important that you use a test credit card number provided by Authorize.net, rather than a live credit card.

For example, when testing a successful transaction with Visa you will use the card number 4007000000027, a CVC of any 3 digits, and an expiration date of any future date.

Ready for Production

Warning

When using Authorize.net live API keys, real cards must be used, and real payments will be processed.

Authorize.net's live API keys are found at account.authorize.net.

If your tests have completed successfully and you are ready to accept real payments, there are several important steps to take.

1

In Authorize.net, you must switch from the sandbox.authorize.net site to the account.authorize.net site. 

2

Update your Production account settings to mirror your old Sandbox account settings.

3

You will need to collect your new Login ID, Transaction Key, and Public Client Key (Signature Key). Add those to your Authorize.net settings page in Academy of Mine.

(image altered for security purposes)

4

Enable the setting for Ready for Production. This is the final safety in place to prevent a real payment. Enabling it will officially turn on real payments.

5

Optional step: test real payments in your Academy of Mine account. Create low value transactions to test, for example a simple Product for $1. You must use a real payment method for these tests. 

Next Step

Up next, you'll learn about creating Products to sell your Courses: