The cause is explained in my posts earlier in this thread.
The cause is explained in my posts earlier in this thread.
.
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.
It took me a lot of time to figure out why my zen cart 1.3.9h won't send sales detail to Paypal today.
I am using split tax line module, which will record multiple ot_tax lines into order_total table per order. However, in paypalwpp.php and paypaldp.php, TAXAMT is calculated as "if ($order_totals[$i]['code'] == 'ot_tax') $optionsST['TAXAMT'] = round($order_totals[$i]['value'],2);". This means only one ot_tax line per order is supported, or the total amount won't match the calculated total amount.
Change "$optionsST['TAXAMT'] = round($order_totals[$i]['value'],2);" to "$optionsST['TAXAMT'] += round($order_totals[$i]['value'],2);" will fix the issue. Hope this can be integrated into the new beta version.
I just upgraded a couple of stores from 1.3.7 to 1.3.9h, I had tried first updating to 1.5.1, but that didn't go too smooth so I'm sticking with 1.3.9h for at least a month or two.
I'm having the problem with the product details not being sent to PayPal. I do use Specials and after checking the products with Specials most have more than 2 decimal places. Is there some setting that can be changed so it only uses 2 decimal places?
Bookmarks