Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Undefined constant "Xendit\Lib\XENDIT_PAYMENT_GATEWAY_VERSION" in /var/www/administrator/data/www/example.com/modules/gateways/xendit/lib/XenditRequest.php:99 #49

Open
InfinixMediaDev opened this issue Jan 26, 2025 · 2 comments

Comments

@InfinixMediaDev
Copy link

Hello,

We are experiencing this error when trying to cancel an order or even delete an order on WHMCS Plugin.

Oops!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

For additional assistance, please reference the WHMCS TroubleShooting Guide »

Error: Undefined constant "Xendit\Lib\XENDIT_PAYMENT_GATEWAY_VERSION" in /var/www/administrator/data/www/example.com/modules/gateways/xendit/lib/XenditRequest.php:99
Stack trace:
#0 /var/www/administrator/data/www/example.com/modules/gateways/xendit/lib/XenditRequest.php(199): Xendit\Lib\XenditRequest->defaultHeader()
#1 /var/www/administrator/data/www/example.com/modules/gateways/xendit/hooks.php(98): Xendit\Lib\XenditRequest->expire('677af7278652ef0...')
#2 [internal function]: cancelXenditInvoice(Array)
#3 /var/www/administrator/data/www/example.com/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): call_user_func('cancelXenditInv...', Array)
#4 /var/www/administrator/data/www/example.com/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run('CancelOrder', Array, false)
#5 /var/www/administrator/data/www/example.com/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array)
#6 /var/www/administrator/data/www/example.com/includes/orderfunctions.php(0): run_hook('CancelOrder', Array)
#7 /var/www/administrator/data/www/example.com/admin/orders.php(0): changeOrderStatus(17, 'Cancelled')
#8 {main}

@arunika0
Copy link

arunika0 commented Jan 30, 2025

saya juga mengalami hal yang sama jika menggunakan tombol cancel order

untuk penanganan sementara yang saya lakukan saat ini, ubah status ke cancel melalui dropdown menu pada manage order

Image

@yanoandri
Copy link
Contributor

Hi all, please have a look at the new version of release, please do let me know if the plugin is working well, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants