Locating Authorize.NET API Credentials

Overview

# Top

This guide will help you integrate your API credentials for the LifterLMS Authorize.Net Payment Gateway. Integrating these credentials enables your WordPress website to securely process real-time credit card transactions from students.

If you’re currently testing your setup, then you can also use the Authorize.Net Sandbox credentials on your WordPress staging environment. The sandbox environment allows you to simulate transactions without any financial risk or the exchange of real money.

Connecting LifterLMS to Authorize.Net

# Top

If you’re working on the production WordPress site, follow the steps below to connect your Authorize.Net account to your WordPress website and begin accepting payments.

Locating Your API Credentials

You need Live API credentials from your Authorize.Net account to process real payments on your website.

  1. Open your web browser and visit https://account.authorize.net/.
  2. Log in to your live Authorize.Net account.
  3. Navigate to Account > Settings, then click the “API Credentials & Keys” link.

Screenshot of the Authorize.Net Account and API Settings page with the API Credentials and Keys option highlighted.

  1. Locate your “API Login ID” on this screen.
  2. Copy your “API Login ID” so you can paste it into the LifterLMS settings later.

Generating Your Transaction Key

Next, you need to generate a key that authorizes transactions between your website and your payment gateway.

  1. Still on the “API Credentials & Keys” screen, scroll down to the Transaction Key section.
  2. Click the “Generate new transaction key” button.
  3. Click the Submit button.
  4. Copy your new transaction key from the confirmation screen.

Screenshot of the Authorize.Net API Credentials and Keys page showing the New Transaction Key created modal.

Warning: Authorize.Net displays your transaction key only once for security purposes. Please copy it immediately. If you lose this key, you must repeat the previous steps to generate a new one.

Generating Your Public Client Key

You need one additional key to complete your live setup.

  1. On the same page, scroll down to the “Public Client Key” section.
  2. Copy your existing client key, or generate a new one.

Screenshot of the Authorize.Net API Credentials and Keys page showing the New Public Client Key created modal.

Adding Credentials to LifterLMS

Now that you have gathered all of your keys, you need to add them to your website.

  1. Open your WordPress dashboard and navigate to LifterLMS > Settings > Checkout.
  2. Select “Authorize.Net” from your list of payment gateways.
  3. On this screen, make sure the checkbox next to “Enable Authorize.Net” is checked, and the checkbox next to “Enable Authorize.Net Sandbox” is unchecked.

Screenshot of the LifterLMS checkout settings page with Authorize.Net selected and the Enable Authorize.Net checkbox shown.

  1. Scroll down to the Live API Credentials section and paste your API Login ID, Transaction Key, and Public Client Key into their respective fields.
  2. Click the Save Changes button.

Connecting to an Authorize.Net Sandbox Environment

# Top

A sandbox environment lets you test the LifterLMS Authorize.Net Payment Gateway using a simulated payment environment where no real money changes hands. This allows you to experience how Authorize.Net works in a realistic setting, verify your configuration, and test checkout behavior before going live.

WARNING: NEVER enable the staging/sandbox payment gateway on your live site. Students will be able to purchase courses without submitting any payment. The staging/sandbox mode is strictly intended for internal environments or dedicated staging sites to safely test themes, plugins, and webhook functionality using simulated, fake transaction data.

Creating a Sandbox Account

You’ll need to create an Authorize.Net developer account before you can begin testing.

  1. Open your web browser and visit https://developer.authorize.net/hello_world/sandbox.html
  2. Fill out the form provided on the page to create your free sandbox account.
  3. Log in to your new sandbox account at https://sandbox.authorize.net/

Enabling the Sandbox in LifterLMS

The process for obtaining sandbox keys is identical to that in production environments. Please read the section “Locating Your API Credentials” to generate your sandbox keys. After obtaining your keys, add them to your website and activate testing mode.

  1. Open your WordPress dashboard and navigate to LifterLMS > Settings > Checkout.
  2. Select “Authorize.Net” from your list of payment gateways.
  3. On this screen, make sure to check the box next to “Enable Authorize.Net”.
  4. Next, scroll down and check the box next to the “Enable Authorize.Net Sandbox” option.
  5. After that, scroll down to the Sandbox API Credentials section and paste your API Login ID, Transaction Key, and Public Client Key into their respective fields.
  6. Click the Save Changes button to activate this payment gateway.

Screenshot of the LifterLMS Authorize.Net settings showing the Sandbox API Credentials fields for Login ID, Transaction Key, and Client Key.

After enabling the sandbox payment gateway, you will see a “test card” modal on the LifterLMS checkout page. Here, you can click the “Use Card” button to complete the transaction with test cards.

Screenshot of the LifterLMS checkout page showing the Authorize.Net sandbox test card modal with a Use Card button.

For more information on testing different payment scenarios, we highly recommend the official Authorize.Net testing guide.

Reviewing Transactions

# Top

After your integration is complete and students start purchasing your courses, you can review your real transaction records inside your Authorize.Net dashboard.

  1. Log in to your live Authorize.Net account.
  2. Navigate to Payments > Manage Transactions
  3. Review your incoming transactions and payment history on this screen.

Screenshot of the Authorize.Net Manage Transactions page showing a list of incoming transaction records and payment history.

Last Updated on
Was this article helpful?