Skip to content

Commit

Permalink
Add defined constants for XENDIT_PAYMENT_GATEWAY_VERSION (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanoandri authored Jan 21, 2025
1 parent d19c429 commit 7bcc2bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/gateways/xendit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7bcc2bc

Please sign in to comment.