Jump to content

Recommended Posts

Can Someone Please help me? When I tried to do a test checkout I realized that I cant continue. I get the following error, but I don't even have tax setup. I am using WHMCS 7.4.2

Oops!

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

Please go back to the previous page and try again.

If the problem persists, please contact us.

« Back to Homepage

For additional assistance, please reference the WHMCS TroubleShooting Guide »

WHMCS\Exception\Billing\BillingException: Invalid tax percentage: in /home/myuser/public_html/vendor/whmcs/whmcs-foundation/lib/Billing/Tax.php:0
Stack trace:
#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)
#6 {main}

Edited by hanstavo
Link to comment
Share on other sites

FYI tbltax doesnt have anything in it if this is neccessary:

 MySQL returned an empty result set (i.e. zero rows). (Query took 0.0005 seconds.)
SELECT * FROM `tbltax`
 
Here is tblproducts:
 Showing rows 0 - 0 (1 total, Query took 0.0003 seconds.)
SELECT * FROM `tblproducts`
  id type gid name description hidden showdomainoptions welcomeemail stockcontrol qty proratabilling proratadate proratachargenextmonth paytype allowqty subdomain autosetup servertype servergroup configoption1 configoption2 configoption3 configoption4 configoption5 configoption6 configoption7 configoption8 configoption9 configoption10 configoption11 configoption12 configoption13 configoption14 configoption15 configoption16 configoption17 configoption18 configoption19 configoption20 configoption21 configoption22 configoption23 configoption24 freedomain freedomainpaymentterms freedomaintlds recurringcycles autoterminatedays autoterminateemail configoptionsupgrade billingcycleupgrade upgradeemail overagesenabled overagesdisklimit overagesbwlimit overagesdiskprice overagesbwprice tax affiliateonetime affiliatepaytype affiliatepayamount order retired is_featured created_at updated_at
  Edit Copy   1 other 1 name   0 0 18 0 0 0 0 0 recurring 0       0                                                       0 0 0 0   0   0 0 0.0000 0.0000 0 0   0.00 1 0 1 2018-06-30 19:08:36 2018-06-30 19:08:36

Here is tblpricing:

  # Name Type Collation Attributes Null Default Comments Extra  
  1 idPrimary int(10)     No None   AUTO_INCREMENT Change  

 

  2 type enum('product', 'addon', 'configoptions', 'domainr... utf8_unicode_ci   No None        

 

  3 currency int(10)     No None        

 

  4 relid int(10)     No None     Change    
  5 msetupfee decimal(10,2)     No None        
 
  6 qsetupfee decimal(10,2)     No None        
 
  7 ssetupfee decimal(10,2)     No None     Change  
 
  8 asetupfee decimal(10,2)     No None        
 
  9 bsetupfee decimal(10,2)     No None        
 
  10 tsetupfee decimal(10,2)     No None        
 
  11 monthly decimal(10,2)     No None       Drop
 

 

  12 quarterly decimal(10,2)     No None     Change Drop
 
  13 semiannually decimal(10,2)     No None        
 
  14 annually decimal(10,2)     No None       Drop
 
  15 biennially decimal(10,2)     No None     Change Drop
 
  16 triennially decimal(10,2)     No None       Drop
 

 

Lastly, Here is tblorders:

Showing rows 0 - 3 (4 total, Query took 0.0005 seconds.)
SELECT * FROM `tblorders`
 
                                         
  Edit      16 3447661239 2 0 2018-08-08 02:51:23             a:0:{} 60.00 paypal 15 Active removed      
  Edit     35 3946733284 6 0 2018-10-21 14:54:35             a:0:{} 0.00 mailin 0 Active removed      
  Edit      43 7730900826 1 0 2018-10-28 10:36:01             a:0:{} 5.00 mailin 0 Cancelled removed      
  Edit      44 1455563463 1 0 2018-10-28 10:42:58             a:0:{} 5.00 paypal 0 Pending removed      
 

Note: I did remove some stuff when posting here that i cant make public

I posted the databases because they are the easiest way to show configuration settings

Therefore I am Posting one final database: tblconfiguration:

dot.gif Showing rows 0 - 24 (249 total, Query took 0.0005 seconds.)
SELECT * FROM `tblconfiguration`
 
Im Only posting part of it because of how large it is:
 
setting value created_at updated_at  
InvoiceLateFeeAmount 3.00 0000-00-00 00:00:00 2018-10-22 13:16:34
AutoTermination   0000-00-00 00:00:00 0000-00-00 00:00:00
AutoTerminationDays 30 0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminFirstName   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminLastName   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminCompanyName   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminAddress1   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminAddress2   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminCity   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminStateProvince   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminCountry US 0000-00-00 00:00:00 2018-06-30 17:53:45
RegistrarAdminPostalCode   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminPhone   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminFax   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminEmailAddress   0000-00-00 00:00:00 0000-00-00 00:00:00
RegistrarAdminUseClientDetails   0000-00-00 00:00:00 2018-06-30 17:53:45
Charset utf-8 0000-00-00 00:00:00 0000-00-00 00:00:00
AutoUnsuspend on 0000-00-00 00:00:00 0000-00-00 00:00:00
RunScriptonCheckOut   0000-00-00 00:00:00 0000-00-00 00:00:00
License My License Key 0000-00-00 00:00:00 2018-10-24 01:59:44
OrderFormTemplate standard_cart 0000-00-00 00:00:00 0000-00-00 00:00:00
AllowDomainsTwice on 0000-00-00 00:00:00 0000-00-00 00:00:00
AddLateFeeDays 5 0000-00-00 00:00:00 0000-00-00 00:00:00
TaxEnabled   0000-00-00 00:00:00 0000-00-00 00:00:00
DefaultCountry US 0000-00-00 00:00:00 0000-00-00 00:00:00
OrderFormSidebarToggle 1 0000-00-00 00:00:00 0000-00-00 00:00:00
AutoRedirectoInvoice gateway 0000-00-00 00:00:00 0000-00-00 00:00:00
EnablePDFInvoices on 0000-00-00 00:00:00 0000-00-00 00:00:00
CaptchaSetting on 0000-00-00 00:00:00 2018-07-01 00:42:29
SupportTicketOrder ASC 0000-00-00 00:00:00 2018-10-17 20:06:52
SendFirstOverdueInvoiceReminder 1 0000-00-00 00:00:00 0000-00-00 00:00:00
TaxType Inclusive 0000-00-00 00:00:00 2018-06-30 20:46:48
DefaultNameserver3   0000-00-00 00:00:00 0000-00-00 00:00:00
DomainDNSManagement 5.00 0000-00-00 00:00:00 0000-00-00 00:00:00
DomainEmailForwarding 5.00 0000-00-00 00:00:00 0000-00-00 00:00:00
InvoiceIncrement 1 0000-00-00 00:00:00 0000-00-00 00:00:00
ContinuousInvoiceGeneration   0000-00-00 00:00:00 0000-00-00 00:00:00
AutoCancellationRequests on 0000-00-00 00:00:00 0000-00-00 00:00:00
SystemEmailsFromName My Company Name 0000-00-00 00:00:00 2018-07-01 00:39:56
SystemEmailsFromEmail me@mysite.tld 0000-00-00 00:00:00 2018-10-22 13:51:16
AllowClientRegister on 0000-00-00 00:00:00 0000-00-00 00:00:00
BulkCheckTLDs .com,.net 0000-00-00 00:00:00 0000-00-00 00:00:00
OrderDaysGrace 0 0000-00-00 00:00:00 0000-00-00 00:00:00
CreditOnDowngrade on 0000-00-00 00:00:00 0000-00-00 00:00:00
AcceptedCardTypes   0000-00-00 00:00:00 2018-10-22 13:15:10
TaxDomains   0000-00-00 00:00:00 2018-06-30 20:46:48
TaxLateFee   0000-00-00 00:00:00 2018-06-30 20:46:48
PremiumDomains 0 2018-06-30 12:16:08 2018-06-30 12:16:08
ProductMonthlyPricingBreakdown   0000-00-00 00:00:00 0000-00-00 00:00:00
LateFeeType Fixed Amount 0000-00-00 00:00:00 2018-10-22 13:16:34
 
 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated