Authorize.NET Accept.js Payment Configuration
page last edited on 23 July 2018
To enable Authorize.NET Accept.js as a payment method in your X-Cart store, add it to the list of your store’s active payment methods:
In your X-Cart store’s Admin area, go to the Payment methods page (Store setup > Payment methods). In the section for Online methods, click Add payment method:
In the popup box that appears, find the Authorize.NET Accept.js method and select to Add this method:
If the Authorize.NET Accept.js module is not installed in your X-Cart store at the time of adding the method, there will be an Install button instead of Add:
Use this button to install the module and add the method.
Configure the Authorize.NET Accept.js payment on the payment settings page as follows:
If you don’t have a registered account with Authorize.NET sign up using the Sign up for Authorize.NET link at the top of the page.
Next you’ll need to specify the following settings:
- API Login ID : Locate your API Login ID in the Authorize.NET Merchant Interface (“Security Settings” section -> “API Credentials & Keys” link), copy the value and paste it here.
Transaction key : Specify the transaction key in this field.
To obtain the transaction key from the Merchant Interface, do as follows:
- Log into the Merchant Interface
- Select Settings from the Main Menu
- Click on Obtain Transaction Key in the Security section
- Type in the answer to the secret question configured on setup
- Click Submit
- Public key : Specify your Authorize.NET public key
- Transaction type : If you set the value to Auth only, you’ll need to process each transaction manually. This option is preferred if you need to have an option to void orders. If the value is set to Auth and Capture all transactions will be processed automatically.
- Test/Live mode : Use this setting to select the operation mode for your Authorize.NET integration. Before you can offer Authorize.NET Accept.js payment on your website, you will first need to successfully carry out some required test transactions. To do the testing, you will need to set the operation mode of your integration to Test. When the payment is ready for production use, you can switch the Test/Live mode setting to Live.
- Invoice number prefix : If you use the same account to accept payments from more than one X-Cart stores, use this field to set an invoice number prefix for this store. The prefix will serve as an identifier of the store and will help you to avoid errors of the “duplicate invoice number” type. It’s recommended to limit the length of invoice prefix to 9 characters. Larger prefixes will be cut prior to transaction initialization.
Save the settings.
If necessary add the payment description or change the payment name in the Sorting&Description tab of the Store setup -> Payment methods section in the Admin area.
The payment position at checkout will be the same as set on this page, i.e. if this is the first active payment method it will be shown first at checkout.
When a customer chooses to pay an order with Authorize.NET Accept.js, he’ll be able to submit the cc data info directly on the checkout page in your X-Cart store. This info will be safely transferred to Authorize.NET side and processed there.
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.