daleykd Posted October 9, 2015 Share Posted October 9, 2015 For days, I've been trying to figure out why I would receive PayPal payment notifications, but no orders. After days of troubleshooting, I found the cause: DISABLE MAGIC QUOTES! I know that PrestaShop recommends this, but they also make it seem like it's no big deal. Well, it is. I had a product that had an apostrophe in the title. When it was POSTed back to PrestaShop's PayPal Module's validation.php, an apostrophe (') turned into backslash apostrophe (\') in the $_POST variable. Therefore, when trying to verify the IPN transaction, the $_POST string is sent back to PayPal, and because of the extra backslash, PayPal returns INVALID. This causes the whole order creation process to shut down. Long story short, make sure you disable magic quotes. Thanks, Kyle Link to comment Share on other sites More sharing options...
nlsweb Posted December 22, 2015 Share Posted December 22, 2015 Hello All If you still have the problem please follow ..... There are some missing values in paypalusa.php that's why you wont get order in Back office. Please follow the link below and fix the problem. You need to change in the following file. modules/paypalusa/paypalusa.php https://github.com/PrestaShop/PrestaShop-modules/pull/432/files#diff-5da7524100b2e4a68e32e136ed582c5cR423 Link to comment Share on other sites More sharing options...
bellini13 Posted December 23, 2015 Share Posted December 23, 2015 i'm not sure this commit will get approved, since it assumes that every order has a shipping address, which is just not the case with Prestashop. So think about what will happen if there is no shipping address in Prestashop, and this module then tries to send a shipping address to paypal 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