From 28514ef67348a48172a306629ced5fd8fcd30a45 Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 31 Oct 2023 08:16:44 +0700 Subject: [PATCH] Support currency VND/MYR/THB --- modules/gateways/xendit.php | 2 +- modules/gateways/xendit/lib/ActionBase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gateways/xendit.php b/modules/gateways/xendit.php index 77e85b2..55bfef9 100644 --- a/modules/gateways/xendit.php +++ b/modules/gateways/xendit.php @@ -10,7 +10,7 @@ require __DIR__ . '/xendit/autoload.php'; // Module version -const XENDIT_PAYMENT_GATEWAY_VERSION = '1.2.1'; +const XENDIT_PAYMENT_GATEWAY_VERSION = '1.2.2'; use WHMCS\Billing\Invoice; use Xendit\Lib\ActionBase; diff --git a/modules/gateways/xendit/lib/ActionBase.php b/modules/gateways/xendit/lib/ActionBase.php index d9e7f39..79b705a 100644 --- a/modules/gateways/xendit/lib/ActionBase.php +++ b/modules/gateways/xendit/lib/ActionBase.php @@ -12,7 +12,7 @@ class ActionBase { - const ALLOW_CURRENCIES = ['IDR', 'PHP', 'USD']; + const ALLOW_CURRENCIES = ['IDR', 'PHP', 'USD', 'VND', 'MYR', 'THB']; const WHMCS_MIN_VERSION_SUPPORT = 7.9; protected $moduleDomain = 'xendit';