digitickets / omnipay-digitickets-voucher
Payment Gateway driver for DigiTickets vouchers
Installs: 46 822
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 1
Requires
- php: ^7
- digitickets/omnipay-abstract-voucher: ^2.0
- symfony/event-dispatcher: ^2.8
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- omnipay/tests: ~2.0
- satooshi/php-coveralls: ^1.0
This package is auto-updated.
Last update: 2024-11-15 12:56:32 UTC
README
DigiTickets voucher driver for the Omnipay PHP payment processing library
Omnipay implementation of the DigiTickets voucher payment gateway.
Installation
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
What's Included
This driver handles transactions being processed by DigiTickets vouchers, ie voucher redemption.
It also handle refunds (voucher unredemption).
What's Not Included
N/A
Basic Usage
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); } } );
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.