Integrate Omnipay and Openpay
Trexle connects Omnipay to Openpay and 100+ other payment gateways using a single plugin for one time annual fee
Openpay and Omnipay Integration Guide
Credential you will need for Openpay integration are Merchant ID and Private Api key.
To get these credentials, go to your Openpay admin panel.
You will find the credentials by clicking the cog icon on the upper right corner of the screen, then select Credenciales de API
Identify the API credentials assigned to your merchant account.
Take the credentials you just obtained from Openpay and navigate to Trexle dashboard, click Payments Gateways and select Openpay from the drop down menu as shown below.
Fill into your Openpay credential and click Add Gateway. Click the Activate button next to Openpay, 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.
To simulate charging a card, Openpay provides the following valid numbers:
- 4111111111111111 Visa BANAMEX
- 4242424242424242 Visa BANCOMER
- 5555555555554444 MasterCard BANCO SANTANDER SERFIN
(Supports reward points)
- 5105105105105100 MasterCard SCOTIABANK
(Supports reward points)
- 345678000000007 AmericanExpress AMERICAN EXPRESS
- 341111111111111 AmericanExpress AMERICAN EXPRESS
- 343434343434343 AmericanExpress AMERICAN EXPRESS
Openpay Supported Countries
Openpay 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 Openpay and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Openpay
Openpay is a Mexican payment gateway that allows online merchants to accept payments online and through a mobile app, in a quick and easy way. Their service supports different business models like marketplaces, subscription-based payments, online stores, 3rd party payments, crowdfunding, mobile applications and many more.
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.