Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2012
    Posts
    97
    Plugin Contributions
    1

    application error Taxes Calculated but not Collect in Payments

    I have checked the FAQ area and searched the FORUM for the issue, and while some are similar they aren't addressing my problem.

    PHP Version 5.6.30 and MySQL 5.5.51-38.2

    I have been using the Taxcloud module since 2014 (State Sales Tax Lookup Addon -Version: 1.5.3), I am now using (State Sales Tax Lookup Addon - Version: 1.5.4), my shipping module is USPS Version: 2016-01-17 K8, and other payment modules are Paypal Express Checkout, and now Square Payments. After completing several test payments in the new square module I noticed that while the order total shows the sales tax as calculated, when the person checks out using Paypal or Square only the sub-total and shipping amounts are included in the transaction charge.

    Square Payments
    Click image for larger version. 

Name:	sampleorder1.jpg 
Views:	16 
Size:	28.4 KB 
ID:	17209

    PayPal Express
    Click image for larger version. 

Name:	sampleorder2.jpg 
Views:	15 
Size:	43.4 KB 
ID:	17210

    I have gone through all of my past PayPal orders since 2014 and from what I can tell the last good transaction where the TaxCloud taxes were successfully included in the charged transaction was in December 2015 just before it was updated in January 2016 to Version 1.5.4 it would seem that something has been lost that relays the complete total including tax calculation from TaxCloud to the actual payment "Order Total"

    Please help me figure out how to get this fixed as I am paying the taxes which should have been paid by the customers.

  2. #2
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    74

    Default Re: Taxes Calculated but not Collect in Payments

    I suspect there's a conflict happening between the tax addons you've got installed, and now neither is doing its job properly.

    My recommendation:
    1. Remove all traces of both of those tax modules. (restoring all the files they changed, removing their added files, and running any uninstall SQL scripts)
    2. Test that the default tax infrastructure works properly, all the way to checkout and payment.
    3. Then re-add whichever module you need, using its latest version compatible with your Zen Cart version. And of course test it to be sure it's working as expected.

    The TaxCloud module is invasive, touching dozens of files. I'm not surprised that it's causing troubles.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2012
    Posts
    97
    Plugin Contributions
    1

    Default Re: Taxes Calculated but not Collect in Payments

    The last debug logs I have are from July 10, 2016 and it has appeared to work since then but obviously isn't. Here is that log:

    Code:
     [10-Jul-2016 11:24:56 America/Detroit] Request URI: /webstore/index.php?main_page=checkout_process, IP address: 76.91.194.83
    #1  ot_taxcloud_coupon->calculate_deductions() called at [/home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php:59]
    #2  ot_coupon->process() called at [/home/sammirah/public_html/webstore/includes/classes/order_total.php:185]
    #3  order_total->pre_confirmation_check() called at [/home/sammirah/public_html/webstore/includes/modules/checkout_process.php:68]
    #4  require(/home/sammirah/public_html/webstore/includes/modules/checkout_process.php) called at [/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php:14]
    #5  require(/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php) called at [/home/sammirah/public_html/webstore/index.php:36]
    
    [10-Jul-2016 11:24:56 America/Detroit] PHP Warning:  Missing argument 1 for ot_taxcloud_coupon::calculate_deductions(), called in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php on line 59 and defined in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php on line 52
    [10-Jul-2016 11:24:56 America/Detroit] Request URI: /webstore/index.php?main_page=checkout_process, IP address: 76.91.194.83
    #1  ot_coupon->get_order_total() called at [/home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php:56]
    #2  ot_taxcloud_coupon->calculate_deductions() called at [/home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php:59]
    #3  ot_coupon->process() called at [/home/sammirah/public_html/webstore/includes/classes/order_total.php:185]
    #4  order_total->pre_confirmation_check() called at [/home/sammirah/public_html/webstore/includes/modules/checkout_process.php:68]
    #5  require(/home/sammirah/public_html/webstore/includes/modules/checkout_process.php) called at [/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php:14]
    #6  require(/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php) called at [/home/sammirah/public_html/webstore/index.php:36]
    
    [10-Jul-2016 11:24:56 America/Detroit] PHP Warning:  Missing argument 1 for ot_coupon::get_order_total(), called in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php on line 56 and defined in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php on line 478
    [10-Jul-2016 11:24:56 America/Detroit] Request URI: /webstore/index.php?main_page=checkout_process, IP address: 76.91.194.83
    #1  ot_taxcloud_coupon->calculate_deductions() called at [/home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php:59]
    #2  ot_coupon->process() called at [/home/sammirah/public_html/webstore/includes/classes/order_total.php:67]
    #3  order_total->process() called at [/home/sammirah/public_html/webstore/includes/modules/checkout_process.php:75]
    #4  require(/home/sammirah/public_html/webstore/includes/modules/checkout_process.php) called at [/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php:14]
    #5  require(/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php) called at [/home/sammirah/public_html/webstore/index.php:36]
    
    [10-Jul-2016 11:24:56 America/Detroit] PHP Warning:  Missing argument 1 for ot_taxcloud_coupon::calculate_deductions(), called in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php on line 59 and defined in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php on line 52
    [10-Jul-2016 11:24:56 America/Detroit] Request URI: /webstore/index.php?main_page=checkout_process, IP address: 76.91.194.83
    #1  ot_coupon->get_order_total() called at [/home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php:56]
    #2  ot_taxcloud_coupon->calculate_deductions() called at [/home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php:59]
    #3  ot_coupon->process() called at [/home/sammirah/public_html/webstore/includes/classes/order_total.php:67]
    #4  order_total->process() called at [/home/sammirah/public_html/webstore/includes/modules/checkout_process.php:75]
    #5  require(/home/sammirah/public_html/webstore/includes/modules/checkout_process.php) called at [/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php:14]
    #6  require(/home/sammirah/public_html/webstore/includes/modules/pages/checkout_process/header_php.php) called at [/home/sammirah/public_html/webstore/index.php:36]
    
    [10-Jul-2016 11:24:56 America/Detroit] PHP Warning:  Missing argument 1 for ot_coupon::get_order_total(), called in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php on line 56 and defined in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php on line 478

  4. #4
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    74

    Default Re: Taxes Calculated but not Collect in Payments

    PHP Warning: Missing argument 1 for ot_coupon::get_order_total(), called in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_taxcloud_coupon.php on line 56 and defined in /home/sammirah/public_html/webstore/includes/modules/order_total/ot_coupon.php on line 478
    As suspected, the error is in the taxcloud code.

    Again, with the understanding that you're not even trying to use TaxCloud, I recommend just removing all the TaxCloud crud.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2012
    Posts
    97
    Plugin Contributions
    1

    Default Re: Taxes Calculated but not Collect in Payments

    After carefully removing all associated files except admin_access.php, and general.php I then had to overwrite includes>classes>order.php
    I finally got it to work properly. I do like TaxCloud but there are some issues that need to be fixed in the newest version, in the meantime I will just accept CA taxes til things are worked out.

 

 

Similar Threads

  1. Tax calculated but not added to total
    By Danger in forum Managing Customers and Orders
    Replies: 18
    Last Post: 13 Mar 2011, 04:17 AM
  2. Taxes not calculated properly
    By osuwariboy in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 5
    Last Post: 15 May 2008, 05:45 PM
  3. Taxes Not Calculated for Store Pick Up
    By HelenSama in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 9 Jan 2008, 04:43 PM
  4. Replies: 2
    Last Post: 9 Feb 2007, 08:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR