News:

Looking for documentation? Take a look on our wiki

Main Menu

PayPal and customer addresses with quote

Started by RobertG, July 06, 2014, 11:23:34 AM

Previous topic - Next topic

RobertG

Hello,

I have a problem on two site hosted on the same hoster: as soon as customer address includes a quote (in French it's frequent as "rue de l'aubépine" and PayPal payment "Let buyers override their PayPal addresses?" set to "Yes", we got an error
QuoteERROR Validation IPN invalide
How to solve that?

Thanks for help!
Robert

Edit: sorry, I omitted precisions: VM version is 2.6.6, and orders stay "pending", not "confirmed" although PayPal payment is accepted

RobertG

No response? :(

I tested a new site with VM 2.9.8 version, Joomla! 3.3.1 and PayPal Sandbox: no error with quotes in addresses or names

I tried to upgrade sites clones 2.6.6 to 2.9.8: impossible to validate cart, checkout remains on the same cart page.

alatak

Salut Robert

It is strange, because the fix i gave you via skype for 2.6.6 is included in the version 2.9.8

The fix is :
in function plgVmOnPaymentNotification in the file plugins/vmpayment/paypal/paypal.php
replace
      $paypal_data = vRequest::getPost();

by

                $paypal_data = $_POST;
   

If this does not work, please contact me via skype, i will have a look. Thanks.

RobertG

Merci Valérie !

This message was posted before we talked on Skype .

My request was for the same site, that is using VM 2.6.6 (not 2.9.8 where checkout don't work, il I update 2.6.6), and your suggestion
Quote$paypal_data = $_POST;
works fine on 2.6.6.

Robert