DigiTickets voucher driver for the Omnipay PHP payment processing library
Omnipay implementation of the DigiTickets voucher payment gateway.
Important: Driver requires PHP's Intl extension and PHP's SOAP extension to be installed.
The DigiTickets voucher Omnipay driver is installed via Composer. To install, simply add it
to your composer.json
file:
{
"require": {
"digitickets/omnipay-digitickets-voucher": "~1.0"
}
}
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
This driver handles transactions being processed by DigiTickets vouchers, ie voucher redemption.
It also handle refunds (voucher unredemption).
N/A
For general Omnipay usage instructions, please see the main Omnipay repository.
You may add debug logging by attaching a callback like so:
$gateway->registerLoggerCallback(
function ($msg, $data) use ($logger) {
try {
$logger->info($msg, ['data' => $data]);
} catch (\Throwable $ex) {
error_log($ex);
}
}
);
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.