Jump to content

sebastiano.riva

Members
  • Posts

    21
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Italy
  • Activity
    Web development agency

sebastiano.riva's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. You can put the entire code for easy cut and paste? Thanks
  7. 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
  8. 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
  9. 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
  10. 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?
  11. Nobody can post a temporary workaround in the prestashop core for Prestashop 1.6.x like post #28?
×
×
  • Create New...