Integrate Omnipay and Paygate
Trexle connects Omnipay to Paygate and 100+ other payment gateways using a single plugin for one time annual fee
Paygate and Omnipay Integration Guide
For PayGate integration you will need PayGate ID and PayGate Password (Encription Key)
To obtain these credentials go to PayGate Merchant Access Portal
Once you are logged in to your PayGate portal you can view your PayGate ID (top right corner).
The next step is to retrieve your Encryption Key. Click Product Configuration (under Administration menu item).
Click on the Configure button (under PayHost tab).
Encription key is at the top of the newly opened page.
Take the credentials you just obtained from Paygate and navigate to Trexle dashboard, click Payments Gateways and select Paygate from the drop down menu as shown below.
Fill into your Paygate credential and click Add Gateway. Click the Activate button next to Paygate, 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.
Approved 3-D Secure Transactions
- Visa 4000000000000002
Approved Transactions
- Visa 4000000000000002
- MasterCard 5200000000000015
- American Express 378282246310005
- Diners Club 38520000023237
Insufficient Funds Transactions
- MasterCard 5200000000000023
- Visa 4000000000000028
- American Express 371449635398431
Declined Transactions
- Visa 4000000000000036
- MasterCard 5200000000000049
- Diners Club 30569309025904
Unprocessed Transactions
- MasterCard 5200000000000064
Expiry Date must be in the future; Card Holder & CVV can be made up.
Paygate Supported Countries
Paygate 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 Paygate and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Paygate
PayGate is South African payment processor and has support for MasterCard and Visa, and optionally American Express and Diners Club. It was established in 1999 and with more than 19 years of consistent payment services delivery, it has grown into a global Payment Service Provider known as the pioneer of Africa and with satisfied clients on 5 continents.
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.