Integrate Omnipay and Authorize.net
Trexle connects Omnipay to Authorize.net and 100+ other payment gateways using a single plugin for one time annual fee
Authorize.net and Omnipay Integration Guide
To obtain the API Login ID and Transaction Key you need to log into the Merchant Interface. Click account from the main toolbar. Under Security Settings, click API Credentials & Keys as shown below.
Enter your Secret Answer and select New Transaction Key. Click Submit to continue. Your new Transaction Key is displayed.
Note: If the Disable Old Transaction Key Immediately box is not checked, the old Transaction Key will automatically expire in 24 hours. When the box is checked, the Transaction Key expires immediately.
Take the credentials you just obtained from Authorize.net and navigate to Trexle dashboard, click Payments Gateways and select Authorize.net from the drop down menu as shown below.
Fill into your Authorize.net credential and click Add Gateway. Click the Activate button next to Authorize.net, and it will give you a success message and the button will turn into green. You should see something like below.
Download Trexle Omnipay driver from Trexle github repository and install Omnipay using composer by adding the following lines into your composer.json file.
{
"require": {
"omnipay/trexle": "~2.0"
}
}
Run composer to update your application dependencies.
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Now, test a sandbox transaction using the text cards below.
Use any expiration date after today’s date. If the card code is required, please use any 3-digit combination for Visa, Mastercard, Discover, Diners Club, EnRoute, and JCB; use a 4-digit combination for American Express.
Test Card Brand | Number |
American Express | 370000000000002 |
Discover | 6011000000000012 |
JCB | 3088000000000017 |
Diners Club/ Carte Blanch | 38000000000006 |
Visa | 4007000000027 |
4012888818888 | |
4111111111111111 | |
MasterCard | 5424000000000015 |
2223000010309703 | |
2223000010309711 |
Authorize.net Supported Countries
Authorize.net Supported Payment Processing Actions
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✔ Card Store
Key Features
About Trexle
Trexle is a powerful online recurring subscription billing platform that integrate Authorize.net and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Authorize.net
Authorize.Net is a payment gateway service provider allowing merchants to accept credit card and electronic check payments through their Web site and over an IP connection.
About Omnipay
Omnipay is a payment processing library for PHP. It has been designed based on ideas from Active Merchant, plus experience implementing dozens of gateways for CI Merchant. It has a clear and consistent API, is fully unit tested, and even comes with an example application to get you started.