When I tried to do a test checkout I realized that I cant continue. I get an error about invalid tax percentage, but I don't even have tax setup. I am using WHMCS 7.4.2
I get the error no matter what payment gateway, and I have tried a fresh install of the checkout.tpl file and a bunch of other files that is included on multiple pages such as common and the sidebars.
When I enable error reporting, I get the following stack trace:
WHMCS\Exception\Billing\BillingException: Invalid tax percentage: in /home/myuser/public_html/vendor/whmcs/whmcs-foundation/lib/Billing/Tax.php:0
#0 /home/myuser/public_html/vendor/whmcs/whmcs-foundation/lib/Billing/Tax.php(0): WHMCS\Billing\Tax->validateTaxPercentage(NULL)
#1 /home/myuser/public_html/includes/invoicefunctions.php(0): WHMCS\Billing\Tax->setLevel1Percentage(NULL)
#2 /home/myuser/public_html/includes/processinvoices.php(0): updateInvoiceTotal(0)
#3 /home/myuser/public_html/includes/processinvoices.php(0): createInvoicesProcess(false, true, '')
#4 /home/myuser/public_html/includes/orderfunctions.php(0): createInvoices(1, true, '', Array)
#5 /home/myuser/public_html/cart.php(0): calcCartTotals(true)
I've almost finished developing a custom payment gateway, however when I submit and it posts I've set the return url(not the callback) to /viewinvoice?id=#### and there is a problem somewhere
The callback is separate and is set to modules/gateways/callback/nabtransact.php
But it returns me a page with no CSS and a login box which suggests it's logged out or lost the login cookie in the process.
The address bar shows the payment gateway target but the page does not correspond.
Any ideas are appreciated.
Recently Browsing 0 members
No registered users viewing this page.