Integrate Omnipay and Borgun
Trexle connects Omnipay to Borgun and 100+ other payment gateways using a single plugin for one time annual fee
Borgun and Omnipay Integration Guide
Borgun’s Restful Payment Gateway enables merchants to accept payments in a variety of ways. After receiving Public and Private access tokens from Borgun you can start accepting payments.
Private Access Token is your secret token and should be treated as confidential and sensitive information. This token gives you full access to RPG’s functionality.
Public Access Token is your public token and can safely be embedded into client applications and websites. This token can only be used to create single use card tokens that can then be used to charge the card using the Private access token.
All these Token be only got from your account Dashboard once you signup with Borgun
Other information which is needed are as below
MercahntId: Borgun provides this code
MerchantContractNumber: Borgun provides this code
Processor: Borgun provides this code
Usename: Borgun provides your username
Password: Borgun provides your password
Take the credentials you just obtained from Borgun and navigate to Trexle dashboard, click Payments Gateways and select Borgun from the drop down menu as shown below.
Fill into your Borgun credential and click Add Gateway. Click the Activate button next to Borgun, 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.
Borgun provides test cards only on request for that too for specific time period. It does not provide a public list of test cards for developers.
Borgun Supported Countries
Borgun 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 Borgun and other +100 payment gateways with Omnipay and other dozen of e-commerce platforms.
About Borgun
Borgun understands the importance of secure and efficient online payment service. Their solutions are reliable, fast and secure and are designed to meet the needs of any business. Borgun B-Gateway is a crucial part of the online payment processing value chain. Borgun B-Gateway allows merchants to obtain authorizations for card transactions and submit transactions for clearing and settlement.
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.