Download the PHP package digitickets/omnipay-barclays-epdq without Composer
On this page you can find all versions of the php package digitickets/omnipay-barclays-epdq. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitickets/omnipay-barclays-epdq
More information about digitickets/omnipay-barclays-epdq
Files in digitickets/omnipay-barclays-epdq
Package omnipay-barclays-epdq
Short Description Barclays ePDQ driver for the Omnipay payment processing library.
License MIT
Homepage https://github.com/digitickets/omnipay-barclays-epdq
Informations about the package omnipay-barclays-epdq
Omnipay: Barclays ePDQ
Barclays ePDQ driver for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements WorldPay support for Omnipay.
Installation
Omnipay is installed via Composer. To install, simply add it
to your composer.json
file:
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Basic Usage
The following gateways are provided by this package:
- Barclays ePDQ Essential (Redirect)
For general usage instructions, please see the main Omnipay repository.
Advanced Usage
Creating a purchase request
The example below explains how you can create a purchase request then send it.
Handling complete purchase request
When the user submit the payment form, the gateway will redirect you to the URL you have specified in prameters or in the backoffice. The code below gives an example how to handle the server feedback answer.
Extra Parameters
It is also possible to add more parameters and fine tune the create POST HTTP request
Supported languages
The supported languages by barclays gateway are:
- ar_AR (Arabic)
- cs_CZ (Czech)
- dk_DK (Danish)
- de_DE (German)
- el_GR (Greek)
- en_US (English)
- es_ES (Spanish)
- fi_FI (Finnish)
- fr_FR (French)
- he_IL (Hebrew)
- hu_(HU hungarian)
- it_IT (Italian)
- ja_JP (Japanese)
- ko_KR (Korean)
- nl_BE (Flemish)
- nl_NL (Dutch)
- no_NO (Norwegian)
- pl_PL (Polish)
- pt_PT (Portugese)
- ru_RU (Russian)
- se_SE (Swedish)
- sk_SK (Slovak)
- tr_TR (Turkish)
- zh_CN (Simplified Chinese)
Supported currencies
The supported currencies by barclays gateway are:
- AED, ANG, ARS, AUD, AWG, BGN, BRL, BYR, CAD, CHF, CNY, CZK, DKK, EEK, EGP, EUR, GBP, GEL, HKD, HRK, HUF, ILS, ISK, JPY, KRW, LTL, LVL, MAD, MXN, NOK, NZD, PLN, RON, RUB, SEK, SGD, SKK, THB, TRY, UAH, USD, XAF, XOF, XPF and ZAR
Tips for using this driver
Barclays ePDQ (Essential) is not the most intuitive gateway to use, so with that in mind, here are a couple of pointers for a slightly less painful integration experience:
- The driver defaults to using POST for the post-transaction server-to-server callback. Make sure you also set the callback method to POST in the Barclays back office. Alternatively, you can use GET by configuring the driver using the
setCallbackMethod()
method. - Barclays only allow redirects to their payment page from URLs that you've already whitelisted. Make sure you've put the full URL of whichever page on your site does the redirect in the Barclays back office configuration.
Support
If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.