Integrate Omnipay and Payex
Trexle connects Omnipay to Payex and 100+ other payment gateways using a single plugin for one time annual fee
Payex and Omnipay Integration Guide
For PayEx integration, you will need the Merchant token.
To retrieve the token, log to your PayEx Merchant Administration web interface.
Select Menu -> Settings -> Tokens
Any existing tokens will be listed. Each merchant may have 10 active tokens.
Create a new token by clicking the + icon to the right in the green frame.
Write a comment for you to remember. Hint: write in which system at your site will you use this token.
Remember to mark the check-boxes for what kind of payment methods your system will use (when using this token).
When the token is created, you can copy it for your integration.
Take the credentials you just obtained from Payex and navigate to Trexle dashboard, click Payments Gateways and select Payex from the drop down menu as shown below.
Fill into your Payex credential and click Add Gateway. Click the Activate button next to Payex, 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.
- Visa 4001925505894633 NOR
- Visa 4581097655558174 SWE
- Visa 4028017855482844 FIN
- Visa 4026209456200863 DNK
- DANKORT 5019010000000007 DNK (DKK only)
- MC 5413000000000000 XXX (unknown country)
- AmEx 377601000000000 –
- Diners 30400100000005
Cardholder: (arbitrary)
CVC/CVV: 210
Expire date: After this month.
Payex Supported Countries
Payex 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 Payex and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Payex
PayEx was founded on the Swedish island of Gotland in 1972, with the mission to help companies with billing, so that they could focus on their core business. Today, they are one of the leading companies in payment solutions. They operate in Sweden, Norway, Denmark and Finland, with customers in several European countries.
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.