The Instamojo Payment Gateway is an easy way to collect payments for the digital sale of products ranging from instant downloads and subscriptions to physical goods and business services. To install theCommerce Instamojo Payment Gateway Module in your Drupal commerce (https://www.drupal.org/project/commerce) , download the module and add it to your sites/all/modules directory. Enable it under /admin/build/modules.

Enable instamojo module

Configuring the Module

Step I

Login to your Instamojo account and create a payment link. You can select the “Pay What You Want” option for pricing your products.

Create a Payment Link in your Instamojo account

Step II

Navigate to Advanced Settings of the payment link to put your site URL/response_page and click on the “Get Started” button.

Advance settings of payment link

Add custom redirection URL as http://www.yoursiteurl/response_page. Replace yoursiteurl with your own site URL.

Step III

The Payment Link will look like this : http://www.instamojo.com/username/slug. The payment URL link is to be added in the module configuration page. Copy the payment URL as shown in the screenshot below :

Payment URL link

Step IV

Now navigate to the Instamojo Dashboard’s Footer and click on the Developers link.

developer link on Instamojo site

Step V

On your developers Page, you will find the Private API Key & the Private Authentication Token.

Instamojo for Developers-API & Auth Token

Step VI

Now fill the values on module configuration page.

Store > Configuration > Payment Methods

Or you can browse directly through : http://mystore.com/admin/commerce/config/payment-methods

Private API Key & Token: Copy it from Step VI

Virtual Payment Client Url : URL copied as in Step III

Site URL: http://your_site_url (Replace this with your site URL without “/”)

Current Payment Api URL: https://www.instamojo.com/api/1.1/payments

Instamojo Drupal Module Configuration Page

Now you are all set to use the Instamojo Payment Gateway.

If you face any issues while setting up the module, please update it in Drupal issue queue here. You can also Contact us for site specific paid customization of the module and further information on our service offerings.

 

comments powered by Disqus