Configuring Multiple Authorize.net Gateways in Magento
In e-commerce, it’s not uncommon to have multiple accounts for processing credit card payments through different currencies or jurisdictions. If you’ve already configured one Authorize.net payment method in your Magento store and need to add a second gateway account (e.g., for Canadian Dollar transactions), this guide will walk you through the process step-by-step.
Step 1: Enable Additional Payment Methods
First, ensure that additional payment methods are enabled in your Magento system. Navigate to Stores > Settings > Configuration > Sales > Payment Methods. Look for the Allow, Display out of stock items when enabling, and Order Minimum Amount fields under the Payment Method section. Set these as desired and click Save Config.
Step 2: Configure the Second Authorize.net Gateway
- From the Magento admin panel, go to Stores > Settings > Configuration > Sales > Payment Methods.
- Find the Authorize.Net Direct Post (Secure Acceptance) method in the list.
- Click on the Add New button next to it.

- Enter a unique title for this gateway, such as “Authorize.Net CAD Gateway”.
- Fill in the following fields with your second Authorize.net account details:
- API Login ID: The merchant login ID provided by Authorize.net for your Canadian Dollar account.
- Transaction Key: The transaction key generated for your Canadian Dollar account’s API credentials.
- Merchant Account Number: Leave this field blank, as it applies to Authorize.net SIM integration which isn’t relevant here.

Step 3: Set Currency Specific Settings
- Click on the Currency Specific tab.
- Enable the currency for your second Canadian Dollar account by switching the Enabled flag to “Yes”.
- Choose Canadian Dollar (CAD) from the Currency dropdown menu.

- Set other optional parameters like minimum and maximum order amounts, sort order, and payment action as required for your CAD transactions.
- Click on Save Config.
Step 4: Assign the New Gateway to a Website or Store View
If you’re running multiple websites or store views in your Magento installation:
- Go back to the main Payment Methods configuration page (Stores > Settings > Configuration > Sales > Payment Methods).
- Under the Authorize.Net Direct Post (Secure Acceptance) method, click on the Website or Store View Specific tab.
- Choose which stores or views should use this new CAD gateway by enabling and selecting it under their respective configurations.

Conclusion
Configuring multiple Authorize.net gateways in Magento allows you to process transactions using different accounts based on currency, location, or other business requirements. By following this guide, you can easily set up and manage additional payment methods within your existing Magento infrastructure.
Remember that proper integration with the Authorize.net API ensures secure data handling and compliance with PCI-DSS standards. If you require further assistance in customizing your store’s payment processing or any other development needs, feel free to reach out to the expert team at Laravel Company.