PHP code example of digitickets / omnipay-digitickets-voucher
1. Go to this page and download the library: Download digitickets/omnipay-digitickets-voucher library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
digitickets / omnipay-digitickets-voucher example snippets
$gateway->registerLoggerCallback(
function ($msg, $data) use ($logger) {
try {
$logger->info($msg, ['data' => $data]);
} catch (\Throwable $ex) {
error_log($ex);
}
}
);