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.
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|
|Diners Club/ Carte Blanch||38000000000006|
Authorize.net Supported Countries
Authorize.net Supported Payment Processing Actions
✔ Card Store
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.
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.
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.