jbaranello Posted May 11, 2014 Share Posted May 11, 2014 Hi guys, I think I may have found a little bug. It seems that when I set the carrier to use a tax rule that it calculates it twice once you try to checkout with paypal. First it shows you the price tax included in the carrier select section. Then once you get to paypal checkout it uses the Tax included value it computed before and uses it as the TAX EXCL. value on the paypal checkout page. It then goes on to calculate the tax on the total which has the tax included in the shipping already. It basically double taxes the shipping value. Has anyone else seen this? Thanks Jason Link to comment Share on other sites More sharing options...
jbaranello Posted May 11, 2014 Author Share Posted May 11, 2014 Hi Again, I have included a few screenshots to help better understand my problem. Thanks Jason Link to comment Share on other sites More sharing options...
jbaranello Posted May 12, 2014 Author Share Posted May 12, 2014 bump Link to comment Share on other sites More sharing options...
jbaranello Posted May 14, 2014 Author Share Posted May 14, 2014 (edited) Hey Guys, Just noticed something about my problem. It seems this happens before we get to the paypal section. It is as if the tax excl value is being replaced with the tax incl value. Thanks Jason Edited May 14, 2014 by jbaranello (see edit history) Link to comment Share on other sites More sharing options...
jbaranello Posted May 15, 2014 Author Share Posted May 15, 2014 bump Link to comment Share on other sites More sharing options...
jbaranello Posted May 17, 2014 Author Share Posted May 17, 2014 Hey Guys, Been looking but not sure which files are called as the checkout process progresses. Can anyone explain? Thanks Jason Link to comment Share on other sites More sharing options...
jbaranello Posted May 19, 2014 Author Share Posted May 19, 2014 bump Link to comment Share on other sites More sharing options...
jbaranello Posted May 19, 2014 Author Share Posted May 19, 2014 No one else see this?? Thanks Jason Link to comment Share on other sites More sharing options...
tdr170 Posted May 19, 2014 Share Posted May 19, 2014 What version of Paypal are you using. Link to comment Share on other sites More sharing options...
jbaranello Posted May 19, 2014 Author Share Posted May 19, 2014 I am using Paypal 1.3.3 with PS 1.6.0.6 Thanks Jason Link to comment Share on other sites More sharing options...
tdr170 Posted May 20, 2014 Share Posted May 20, 2014 I tested this today and it is an issue with the module, I then switched to module 3.6.8 and the total paid was correct, you can test it yourself, if you do not have this module version you can download it here. (Post #11) http://www.prestashop.com/forums/topic/323900-1606-paypal-payment-return/ Link to comment Share on other sites More sharing options...
jbaranello Posted May 20, 2014 Author Share Posted May 20, 2014 Will this work for Canada?? I saw in the topic you linked that it works for the US. Thanks Jason Link to comment Share on other sites More sharing options...
tdr170 Posted May 20, 2014 Share Posted May 20, 2014 OK after some testing I have found a solution that seems to work, I noticed that the blockcart also showed the shipping cost+tax then the tax amount also included the shipping tax, the total was correct but still seemed confusing so first I wanted to fix that. (not the cart summery) Here is the solution I found: change $usetax to $WithoutTaxes modules/blockcat.php at line 68 $base_shipping = $params['cart']->getOrderTotal($useTax, Cart::ONLY_SHIPPING); to this: $base_shipping = $params['cart']->getOrderTotal($WithoutTaxes, Cart::ONLY_SHIPPING); Now to change the Paypal shipping: change true to false modules/paypalusa/views/templates/hook/standard.tpl at line 48 change this: {assign var="paypal_usa_total_shipping" value=$cart->getOrderTotal(true, Cart::ONLY_SHIPPING)} to this: {assign var="paypal_usa_total_shipping" value=$cart->getOrderTotal(false, Cart::ONLY_SHIPPING)} I just finished testing and seems to work please let me know if this works for you and I will report to Prestashop. Link to comment Share on other sites More sharing options...
jbaranello Posted May 20, 2014 Author Share Posted May 20, 2014 Hi tdr170, Great , it works!!! I will test more thoroughly to see if it causes any problems but so far so good. Thank you so much I appreciate it. Jason Link to comment Share on other sites More sharing options...
Recommended Posts