Download the PHP package digitickets/omnipay-tesco-clubcard without Composer
On this page you can find all versions of the php package digitickets/omnipay-tesco-clubcard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitickets/omnipay-tesco-clubcard
More information about digitickets/omnipay-tesco-clubcard
Files in digitickets/omnipay-tesco-clubcard
Package omnipay-tesco-clubcard
Short Description Tesco Clubcard driver for the Omnipay payment processing library
License MIT
Homepage https://github.com/pedanticantic/omnipay-tesco-clubcard
Informations about the package omnipay-tesco-clubcard
omnipay-tesco-clubcard
UK- and Ireland Tesco Clubcard voucher redemptions driver for the Omnipay PHP payment processing library
Omnipay implementation Tesco Clubcard voucher redemption. Obviously it's not a payment gateway, but it behaves in a similar way.
Installation
Important: Driver requires PHP's Intl extension to be installed.
The Tesco Clubcard Omnipay driver 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
What's Included
There are drivers for UK (Rewards) vouchers and for the Ireland (Boost) vouchers.
What's Not Included
Basic Usage
For both drivers ("UK" and "Ireland") in this repo, there are voucher-type requests, namely validate, redeem and unredeem, and there is a subset of the normal "Omnipay" requests, namely authorize, purchase and refund.
Use the voucher-type requests when you're treating the vouchers as vouchers; use the "Omnipay" requests when you are treating them as payments.
For general Omnipay usage instructions, please see the main Omnipay repository.
UK SSL Verification
The CA bundle that comes with the HTTP Client in this driver is very old, and is not aware of the certificate that Tesco's UK API uses.
You therefore have to supply an alternative CA bundle, via the sslVerification
parameter.
You can pass in false
, which basically switches off verification but this is obviously insecure, so do not do it, except maybe while testing.
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.
If you believe you have found a bug in this driver, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.