<?php
/*
* This file is NOT required to use the AuthnetJson package.
* It exists solely for the examples to work "out of the box".
*/
require(__DIR__ . '/vendor/autoload.php');
defined('AUTHNET_LOGIN') || define('AUTHNET_LOGIN', '');
defined('AUTHNET_TRANSKEY') || define('AUTHNET_TRANSKEY', '');
defined('AUTHNET_SIGNATURE') || define('AUTHNET_SIGNATURE', '');
if (version_compare(PHP_VERSION, '7.2.0') < 0) {
throw new \RuntimeException('AuthnetJson requires PHP 7.2 or greater');
}
|