diff --git a/modules/gateways/xendit.php b/modules/gateways/xendit.php index 40d035f..338d19c 100644 --- a/modules/gateways/xendit.php +++ b/modules/gateways/xendit.php @@ -10,7 +10,9 @@ require __DIR__ . '/xendit/autoload.php'; // Module version -const XENDIT_PAYMENT_GATEWAY_VERSION = '2.1.1'; +if (!defined('XENDIT_PAYMENT_GATEWAY_VERSION')) { + define('XENDIT_PAYMENT_GATEWAY_VERSION', '2.1.2'); // or any default value +} use WHMCS\Billing\Invoice; use Xendit\Lib\ActionBase;