Integrate Omnipay and Fat Zebra
Trexle connects Omnipay to Fat Zebra and 100+ other payment gateways using a single plugin for one time annual fee
Fat Zebra and Omnipay Integration Guide
While testing, it is important that you ensure no sensitive data is included in the data you are validating – this includes card numbers and CVV/CVN numbers. We also recommend that you replace card holder names with example data, however names with diacritics, umlauts or accents may cause validation issues, so remember this while you are testing.
Authentication
Authentication with the Fat Zebra API is via HTTP Basic Authentication. When your account is setup you are provided with two sets of credentials – one for the test environment (also known as the Sandbox), and one for the live system. Your test username will always be prefixed with TEST
API request *must* be made over HTTPS – any requests over HTTP will fail. All requests require authentication.
It is important to note that your username is *not* case sensitive however your API token (password) is.
Take the credentials you just obtained from Fat Zebra and navigate to Trexle dashboard, click Payments Gateways and select Fat Zebra from the drop down menu as shown below.
Fill into your Fat Zebra credential and click Add Gateway. Click the Activate button next to Fat Zebra, 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.
When you are registered with Fat Zebra you will be provided with a Test Account, which includes its own username and token. Using these details will ensure that transactions are not sent to your live merchant facility but allow you to do a full end-to-end test from your site to our service.
Testing with variable cards will generate a response based on the cent-amount of the transaction – for example if the transaction amount is $100.51 (10051) then the response code will be 51 – Expired Card, and a transaction with the amount $200.00 (20000) will have the response code 00 – Approved.
Fat Zebra Supported Countries
Fat Zebra 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 Fat Zebra and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Fat Zebra
Fat Zebra was built as a simple way for merchants to accept credit card payments online whilst still maintaining a strong focus on security, reliability and great user experience. Their online payment gateway provides you with all the features and benefits you deserve with no hidden fees or charges to ensure you have all the right tools to trade online.
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.