Integrate Omnipay and Instamojo
Trexle connects Omnipay to Instamojo and 100+ other payment gateways using a single plugin for one time annual fee
Instamojo and Omnipay Integration Guide
For API you can access your new developers credentials(API key, Auth Token and Salt) from here: https://test.instamojo.com/developers/
You will have to replace instamojo.com to test.instamojo.com everywhere in the code including the API endpoints.
Take the credentials you just obtained from Instamojo and navigate to Trexle dashboard, click Payments Gateways and select Instamojo from the drop down menu as shown below.
Fill into your Instamojo credential and click Add Gateway. Click the Activate button next to Instamojo, 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.
Instamojo does provide you with an option to create a sandbox account to test your integration before you can go live on your website or application. You can test various scenarios and use a dummy card for test transactions. We have mentioned the steps to create a test account below
You can create an account on https://test.instamojo.com
For payments use the following card details:
Number: 4242 4242 4242 4242
Date: Any valid future date
CVV: 111
Name: abc
3D-secure password: 1221
Instamojo Supported Countries
Instamojo 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 Instamojo and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Instamojo
At Instamojo, they believe that access to payments should be a basic, product-driven commodity service, available to every legitimate, law-abiding business. The value (and consequently, the monetization) should be derived from the experiences that they build and services they provide around the payment process. InstaMojo provides payment gateway services to small and big Indian ecommerce websites allowing them to receive payments from various payments channels in the Indian market.
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.