导航栏

Authorize.Net

Authorize.Net is a United States-based online payment solution provider, allowing businesses to accept credit cards.

Authorize.Net logo

This Payment Acquirer offers additional options that are not available for other Payment Acquirers, such as the ability to process your customer’s payment after delivery.

Authorize.Net account

If not done yet, choose a plan and Sign Up for an Authorize.Net account.

Odoo needs your API Credentials & Keys to connect with your Authorize.Net account, which comprise:

  • API Login ID
  • Transaction Key
  • Signature Key

To retrieve them, log into your Authorize.Net account, go to Account ‣ Security Settings ‣ General Security Settings ‣ API Credentials & Keys, and generate your Transaction Key and Signature Key.

Generate your Transaction Key and Signature Key on your Authorize.Net account

Payment Acquirer Configuration

To configure Authorize.Net as Payment Acquirer in Odoo, go to Accounting ‣ Configuration ‣ Payment Acquirers, open Authorize.Net, and change the State to Enabled. Don’t forget to click on Save once you’ve set everything up.

Credentials

Copy your credentials from your Authorize.Net account (API Login Id, API Transaction Key, and API Signature Key), paste them in the related fields under the Credentials tab, then click on Generate Client Key.

Payment Flow

The Payment Flow lets you decide if to redirect the user to the payment acquirer’s portal to authenticate the payment, or if to stay on the current page and authenticate the payment from Odoo. This field is under the Configuration tab.

If you select Redirection to the acquirer website, make sure you add a Default Receipt URL and a Default Relay Response URL to your Authorize.net account.

To do so, log into your Authorize.Net account, go to Account ‣ Transaction Format Settings ‣ Transaction Response Settings ‣ Response/Receipt URLs, and set the default links:

  • Default Receipt URL:
    https://[yourcompany.odoo.com]/payment/authorize/return
  • Default Relay Response URL:
    https://[yourcompany.odoo.com]/shop/confirmation

Capture the payment after the delivery

The Capture Amount Manually field is under the Configuration tab. If enabled, the funds are reserved for 30 days on the customer’s card, but not charged yet.

Authorize.Net Configuration tab on Odoo

To capture the payment, go to the related Sales Order and click on Capture Transaction. If the order is canceled, you can click on Void Transaction to unlock the funds from the customer’s card.

Hold the credit card payment until you capture or revoke it on Odoo