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.
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.
You can use the following card numbers to test the flow of transactions only in the test environment.
|Card Type||Card Number|
- 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
✖ Card Store
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.
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.
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.