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 #231

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

Comments

@InfinixMediaDev
Copy link

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}

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

1 participant