Integrate Omnipay and Flo2cash
Trexle connects Omnipay to Flo2cash and 100+ other payment gateways using a single plugin for one time annual fee
Flo2cash and Omnipay Integration Guide
Setup Integration Secret Hash Key in Merchant Console
The secret key is a value known only to you and Flo2Cash. The secret hash key is combined with the data you send from your website to create a message verification value; this value allows Flo2Cash to verify that the data provided has not been tampered with and also that it is you sending the request. The same process is used when providing data back to your website after the payment has processed. To set-up the integration secret hash key you need to login in your Merchant Console and go to the web payments channel settings.
If you have not previously generated a secret hash key it will be generated at this point. You can change the secret hash key at any stage by clicking on the “Change” button.
Take the credentials you just obtained from Flo2cash and navigate to Trexle dashboard, click Payments Gateways and select Flo2cash from the drop down menu as shown below.
Fill into your Flo2cash credential and click Add Gateway. Click the Activate button next to Flo2cash, 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.
Using the Demo system and test credit cards
When using the Demo system, the URL to which you will be POSTing the payment requests to is different:
- Demo Transactions URL: http://demo.flo2cash.co.nz/web2pay/default.aspx
- Live Transactions URL: https://secure.flo2cash.co.nz/web2pay/default.aspx
Test Credit Card Numbers
All transactions made within the demo system must be done so with the credit card details below. Any other card numbers will be declined.
The transaction amount must be rounded to a whole dollar for successful transactions. There are various cent amounts that can be used to return certain fail situations.
Flo2cash Supported Countries
Flo2cash 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 Flo2cash and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Flo2cash
Flo2Cash has been accelerating the cashflow of businesses and nonprofits since 2003! With thousands of satisfied clients, you can trust us with credit card and direct debit recurring payment solutions that will fit just right for your needs. Every interaction you have with Flo2Cash uses highest level of security and encryption. Flo2Cash are bank approved and a Level 1 PCI-DSS certified which makes your transactions as safe as a bank transaction.
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.