Omnipay

plus-sign-simple

Integrate Omnipay and Citrus

Trexle connects Omnipay to Citrus and 100+ other payment gateways using a single plugin for one time annual fee

Citrus and Omnipay Integration Guide

For Citrus integration, you will need the following credentials:  Access Key, Secret Key and Vanity URL.

To retrieve these credentials, log to your Citrus merchant account

After login to your Citrus account, click on the Checkout page setting tab in right panel to retrieve Vanity URL.

Vanity URL of your website www.yourdomain.com will be “yourdomain” without www. and .com

To retrieve Access Key and Secret Key, click on the Security Credentials tab.

Take the credentials you just obtained from Citrus and navigate to Trexle dashboard, click Payments Gateways and select Citrus from the drop down menu as shown below.

Fill into your Citrus credential and click Add Gateway. Click the Activate button next to Citrus, and it will give you a success message and the button will turn into green. You should see something like below.

To integrate Citrus and Omnipay you need Trexle API keys

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.

You can use the following card numbers to test the flow of transactions only in the test environment.

Card Type Card Number
American Express 378282246310005
371449635398431
Maestro 6762407506473539
5081251112230305
MasterCard 5555555555554444
5105105105105100
Visa 4111111111111111
4012888888881881

Note:

  • When using test cards, you can specify an expiry date up to seven years in the future.
  • The test cards do not have a card verification code and issue number.
  • The above-mentioned card numbers will only be helpful to check the flow of integration and nota successful payment.
  • Make sure you perform a test transaction of amount less than INR 11/-.This is due to limits set in the test environment.

Citrus Supported Countries

Citrus Supported Payment Processing Actions

✔ Purchase
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✖ Recurring
✖ Card Store

Key Features

Credit Card Vault: securely store your customers sensitive credit card data using tokens.
Instant PCI-DSS Compliance: your customers credit card data never touches your site or server.
Multiple Gateway Support: Connect your Omnipay site to 100+ payment gateway

About Trexle

Trexle is a powerful online recurring subscription billing platform that integrate Citrus and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.

About Citrus

Citrus was founded in 2011 by a group of software, UX, and finance professionals who saw space for true simplification & innovation in the world of payments. Citrus Payment Solutions Pvt. Ltd. provides solutions for digital payments and online checkout processes in India. Being led by Amrish Rau and Jitendra Gupta, it is India’s fastest growing fintech company that provides consumer payments and mobile banking services in India.

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.

Cart