01010010010010010100 Posted December 5, 2016 Share Posted December 5, 2016 (edited) Problème de calcul avec le module PayPal 1.3.9 USA Voici un cas de figure sous Prestashop 1.6.1.10 (panier client) : Produit 20.00$ CAD HT (correct) Transport 14.41$ CAD HT (correct) Total hors taxes 34.41$ HT (correct) Taxes 3.16$ CAD TPS/TVQ (correct) Total 37.57$ CAD TPS/TVQ (correct) ------------------------------------- Voici le calcul du module PayPal USA 1.3.9 -------------------------------------- Produit 20.00$ CAD HT (correct) Transport 16.57$ CAD TTC (faux) Total objet (panier) 36.57$ CAD (faux) Taxes 3.16$ (correct) Total 39.73$ CAD facturé au client. (faux) ----------------------------------------------------------------------------------------- Le problème se trouve très exactement à la ligne 48 (notepad++) /prestashop/modules/paypalusa/views/templates/hook/standard.tpl Ligne 48 {assign var="paypal_usa_total_shipping" value=$cart->getOrderTotal(true, Cart::ONLY_SHIPPING)} Vous devez remplacer la valeur true par false Ligne 48 {assign var="paypal_usa_total_shipping" value=$cart->getOrderTotal(false, Cart::ONLY_SHIPPING)} Solution viable pour le module PayPalUSA 1.3.9 sous Prestashop 1.6.1.10 Patrick Lemieux Edited December 8, 2016 by Billard Expert (see edit history) 1 Link to comment Share on other sites More sharing options...
vince0 Posted January 10, 2017 Share Posted January 10, 2017 Bien vu !!! 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