Omnipay

plus-sign-simple

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.

To integrate Flo2cash 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.

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.

CARD TYPE
CARD NUMBER
EXPIRY DATE
CSC
MasterCard
5123456789012346
05/13
111
Visa
4987654321098769
05/13
111
Visa
4005550000000001
05/13
111
Amex
345678901234564
05/13
1111
Diners Club
30123456789019
05/13
N/A

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.

CENT AMOUNT
EXPECTED RESULT
.00
Transaction Successful
.10
Transaction could not be processed
.05
Transaction Declined – Contact Bank
.68
No Reply from Bank
.54
Card has expired
.51
Insufficient Funds

Flo2cash Supported Countries

Flo2cash 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 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.

Cart