-
Posts
21 -
Joined
-
Last visited
Everything posted by sebastiano.riva
-
Link to database cannot be established:SQLSTATE[HY000] [2005]
sebastiano.riva replied to Roxtion's topic in Bug reports
thanks! Its work! -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
for me ...not work -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
I tested my last solution, the change it's not clean and generated an error when the client return from PayPal site to prestashop. My very dirty solution is been to eliminate the security check on express_checkout/payment.php Substitued at line 304: $amount_match = $ppec->rightPaymentProcess(); With: $amount_match = true; As I said very dirty and absolutely not good but I can't find other solution for now -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Finnally I modified this file: /modules/paypal/express_checkout/process.php Line 320, find: $fields['L_PAYMENTREQUEST_0_AMT'.$index] = Tools::ps_round($product['price_wt'], $this->decimals); and replace with: $fields['L_PAYMENTREQUEST_0_AMT'.$index] = sprintf('%.2f', $product['price_wt']); My problem was that this field was print with 6 decimals. It seems to work, I put live and I check if OK -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Prestashop: 1.6.1.5 Paypal: v3.11.1 I tried several configuration, but I don't understand how set prestashop to work with paypal module. Settings > General: - Rounding rule: Round to infinity when the value is halfway (recommended) - Rounding Type: Rounding for each item Localization > Currency - Decimals: YES - Spaces: NO - Active: YES There are other settings to do? I tried all patch but nothing works Thanks -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
You are welcome! Thanks -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Thank you very much for your effort! When you upload the module you can put inside file that have you modified? I reverted at PayPal module v. 3.11.1 but don't work Thanks -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Today I've upgrade PayPal module at v3.11.2 on Prestashop 1.6.1.5. Then I've uploaded the modified process.php file, but the system return: <b>PayPal response:</b> TIMESTAMP -> 2017-02-10T16:25:47Z L_ERRORCODE0 -> 10426 L_ERRORCODE1 -> 10429 L_ERRORCODE2 -> 10431 L_ERRORCODE3 -> 10413 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE1 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE2 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE3 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Item total is invalid. L_LONGMESSAGE1 -> Tax total is invalid. L_LONGMESSAGE2 -> Item amount is invalid. L_LONGMESSAGE3 -> The totals of the cart item amounts do not match order amounts. L_SEVERITYCODE0 -> Error L_SEVERITYCODE1 -> Error L_SEVERITYCODE2 -> Error L_SEVERITYCODE3 -> Error In attachment the file with the lines commentated process.txt -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Great! many thanks! -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
You can put the entire code for easy cut and paste? Thanks -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
I can't arrive on PayPal, when I click on the banner appear the following error: Please try to contact the merchant: <b>PayPal response:</b> TIMESTAMP -> 2016-12-15T17:04:45Z L_ERRORCODE0 -> 10426 L_ERRORCODE1 -> 10431 L_ERRORCODE2 -> 10413 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE1 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE2 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Item total is invalid. L_LONGMESSAGE1 -> Item amount is invalid. L_LONGMESSAGE2 -> The totals of the cart item amounts do not match order amounts. L_SEVERITYCODE0 -> Error L_SEVERITYCODE1 -> Error L_SEVERITYCODE2 -> Error -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
I don't know exactly, but the problem for me is what Prestashop sends and what PayPal receive. PayPal don't receives what wants and returns an error. I don't know if the problem is VAT but I can change it, for you is a % of VAT? Thanks -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
My situation is: 1 product in the cart Product detail: tot no VAT: 3.278600€ VAT 22% Total: 4,00€ Default config or: Round on each item Round up to the nearest value Paypal return me the error -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
I tried with this combination (post #49) and with this price situation: tot no VAT: 3,28€ Tax: 0,72€ Tot: 4,00€ The system returns the same error. Any suggestion? -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Nobody can post a temporary workaround in the prestashop core for Prestashop 1.6.x like post #28? -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Today I updated the module on version 3.11.1. The problem still remain. I also wrote to module owner many days ago, but nobody respoded me. -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
anyone have a patch for Prestashop 1.6.1.5? Thanks -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Thanks for the responses, but in Prestashop 1.6.1.5 there is no line $total_price = Tools::ps_round($total_price + $total_ecotax, 2); in /classes/Cart.php -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
I wrote an mail on official site of company. I Hope in some feedback -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
I don't know about who exactly maintains this module but it is indicated like official Prestashop Module Paypal. The problem is very strange, some amounts is calculated differently from prestashop's cart. In teory many prestashop have this problem. I hope in some upgrade -
PayPal charges different amount than the order value
sebastiano.riva replied to Jacek Es's topic in PayPal
Same problem on version PayPal v3.10.8 / Prestashop 1.6.1.5 Absurd error - Anyone have a solution? Phestashop Team, please tell us something