After July 2021, the 2.3.x release line will no longer receive quality fixes, or user guide updates. PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in April 2022. We strongly recommend planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.

Authorize.Net - Deprecated

Deprecation Notice
Due to the Payment Service Directive PSD2 and the continued evolution of many APIs, this payment integration is at risk of becoming outdated and no longer security compliant in the future. For this reason, it is now deprecated and we are recommending that you disable it in your Magento configuration and transition to the corresponding Magento Marketplace extension.

This integration is removed from the Magento 2.4.0 release and has been deprecated from current versions of 2.3.

For details about making a secure transition from deprecated payment integrations, see our DevBlog.

The Authorize.Net payment method has replaced the Authorize.Net Direct Post payment method. Authorize.Net handles all steps in the transaction process, such as payment data collection, data submission, and response to the customer, while the customer remains in your store.

Customer workflow

1 Customer chooses payment method During checkout, the customer chooses Authorize.Net as the payment method.
2 Customer submits the order The customer enters the credit card information, reviews the order, and clicks/taps the Place Order button.
3 Authorize.Net completes the transaction Authorize.Net validates the card information, and processes the transaction.
- If successful, the customer is redirected to the order confirmation page.
- If not successful, an error message appears. The customer can try a different card or choose a different payment method.

Authorize.Net account credentials

Sign up for a Authorize.Net online [merchant account][3]. You will need the account credentials to connect your account in the Magento Admin.

Set up Authorize.Net in Magento

Click Save Config at any time to save your progress.

Step 1: Enable the Authorize.Net payment method

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Sales and choose Payment Methods.

  3. If your Magento installation has multiple websites, stores, or views, set Store View to the store view where you want to apply this configuration.

  4. In the Merchant Location section, select the Merchant Country where your business is located.

    Merchant Country Merchant Country

  5. Expand Expansion selector the Deprecated Payment Methods section and the Authorize.Net (Deprecated) section.

  6. To enable the configuration and display additional settings, set Enabled to Yes.

Step 2: Complete the basic settings

  1. Enter a unique Title to identify the Authorize.Net payment method during checkout.

  2. For Environment, choose the operating mode for your type of Authorize.Net merchant account.

    If working in a test environment, choose Sandbox. For a live store, choose Production.

  3. Set Payment Action to one of the following:

    Authorize Only Approves the purchase and puts a hold on the funds. The amount is not withdrawn from the customer bank account until the sale is captured by the merchant.
    Authorize and Capture The amount of the purchase is authorized and immediately withdrawn from the customer account.
  4. Add your account credentials:

    You can obtain this information in your Authorize.Net account at Account > Settings > Security Settings > API Credentials & Keys.

    • For the API¬†Login ID, enter the login ID from your Authorize.Net merchant account.

    • For the Transaction Key, enter the key value from your Authorize.Net merchant account.

      If you have previously generated a transaction key, you will enter the value. If you do not know your existing transaction key or have never established one, you can generate a new key in your Authorize.Net merchant account. When generating a new key to replace an existing key, it is important to update any existing applications that use the transaction key.

    • For Public Client Key, enter the key value from your Authorize.Net merchant account.

    • For Signature Key, enter the key value from your Authorize.Net merchant account.

  5. Skip the Merchant MD5 (deprecated) field (Authorize.Net does not use it).

Step 3: Complete the advanced settings

  1. Verify that Accepted Currency is set to US Dollar.

  2. To save messages transmitted between your store and Authorize.Net, set Debug to Yes.

  3. If you want Authorize.Net to send an order confirmation notification to the customer, set Email Customer to Yes.

    Merchant email settings can be configured in your Authorize.Net merchant account at Account > User Profile > Edit Profile Information.

  4. To require customers to enter a card verification value (CVV), set Enable Credit Card Verification Field to Yes.

  5. In the Credit Card Types list, select each credit card that is accepted in your store.

  6. Set Payment from Applicable Countries to one of the following:

    All Allowed Countries Customers from all countries specified in your store configuration can use this payment method.
    Specific Countries After you choose this option, the Payment from Specific Countries list is available. To select multiple countries, hold down the Ctrl key (PC) or the Command key (Mac) and click each option.
  7. Enter the Minimum Order Total and Maximum Order Total for store transactions.

    To qualify, the order total must exactly match the minimum or maximum threshold, or fall somewhere in between.

  8. If you offer multiple payment methods, enter a number for Sort Order to determine the sequence in which Authorize.Net appears when listed with the other payment methods.

    This is relative to the other payment methods. (0 = first, 1 = second, 2 = third, and so on.)

  9. When complete, click Save Config in the upper-right corner.

  10. Click Cache Management in the message at the top of the workspace and refresh all invalid caches.

Set up 3-D Secure with CardinalCommerce (optional)

CardinalCommerce provides a 3-D Secure Version 2.0 solution that increases approvals and reduces fraud and false declines. In addition, CardinalCommerce Consumer Authentication (CCA) fulfills the Payment Services Directive SCA requirements for merchants doing business in the European economic area. Go to CardinalCommerce and sign up for a CardinalCommerce Consumer Authentication merchant account. You will need the following credentials from your CardinalCommerce account to complete the Magento configuration:

  • Org Unit ID
  • API Key
  • API Identifier
  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Sales and choose 3D Secure.

    CardinalCommerce

  3. Set Enable for Authorize.Net to Yes.

  4. Choose the Environment:

    • If Authorize.Net is currently running in test mode, accept the default Sandbox.
    • To set up CardinalCommerce for Authorize.Net in a live store, choose Production.
  5. Enter the following credentials from your CardinalCommerce merchant account:

    • Org Unit ID
    • API Key
    • API Identifier
  6. If you want the system to save a log file of interactions between your store and CardinalCommerce, set Debug to Yes.

  7. When complete, click Save Config in the upper-right corner.

  8. Click Cache Management in the message at the top of the workspace and refresh all invalid caches.