tdr170 Posted December 12, 2013 Share Posted December 12, 2013 (edited) Paypal USA, Canada v1.2.7 While testing 1.6 I had the same issue with tax being added twice another post suggested removing the _wt from line 42 of the standard.tpl file while this worked there was still an issue with voucher discount being applied after tax. This caused the total to be different from Prestashops checkout page causing the voucher discount to increase slightly. So here is a solution that works for both, in the standard.tpl file it seams as though the tax is added twice by default, once at line 42: <input type="hidden" name="amount_{$smarty.foreach.paypal_usa_products.index+1}" value="{$paypal_usa_product.price_wt|floatval}" /> and again at lines 55-57: {if $paypal_usa_total_tax} <input type="hidden" name="tax_cart" value="{$paypal_usa_total_tax|floatval}" /> {/if} So instead of removing the _wt leave line 42 leave as is and remove the lines that add the tax at lines 55-57. Remove these lines: {if $paypal_usa_total_tax} <input type="hidden" name="tax_cart" value="{$paypal_usa_total_tax|floatval}" /> {/if} This only effects the way prices are passed to PayPal your Prestashop cart will still have a separate tax line. Price passed to PayPal will be as previous Paypal modules with tax added to item price but the total to be paid will match Prestashop cart total. Edited December 12, 2013 by tdr170 (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now