Possible bug in PrestaShop Paypal Module
Posted by admin | Filed under Prestashop
While working on a Paypal test with a customer we noticed that the module appears to have an error which requires users to enter the IPN return url in their paypal account settings. This obviously means that it isn’t possible to set up multiple stores using PrestaShop if you have a single paypal account.
The offending line (42) in paypal.tpl contains the form variable return_url. The post variable return_url doesn’t exist in the Paypal documentation, but the value being passed is correct for the IPN url. This line should likely be notify_url instead.
We’ll continue our testing to confirm that this solves the problem with IPN configuration for multiple stores using PrestaShop.
Update: Patched paypal.tpl file to address the above issue: Paypal.tpl updated
You may also like:
- BETA Version 2 Paypal Module for PrestaShop We’re pleased to release BETA 1 of our modified version...
- Improving PayPal Support in PrestaShop When I first came across PrestaShop I was utterly astonished...
- Paypal IPN Validation update We had an issue recently where there was some difficulty...
- Paypal WPP (Example) – PayPal Direct API Development Release I’ve been asked several times about this, so...
- Revisiting the PayPal Beta Module Well I discovered that I had two motivations for revisiting...
Tags: module, multiple, payment, paypal, Prestashop
4 Responses to “Possible bug in PrestaShop Paypal Module”
-
Thanks for that. Worked a treat, now awaiting customers orders.
-
Bonjour,
Je rencontre exactement ce probleme. J’ai une boutique en ligne qui fonctionne sur un compte paypal et je souhaites utiliser ce même compte pour récolter les commandes d’un site que je suis en train de mettre en ligne sous prestashop.
N’a-t-on pas trouvé une réponse à ce problème, qui j’imagine doit être soulevé par nombreux utilisateurs ?






















Further testing has proved that the above fix does indeed remove the need to specify a return URL in your Paypal account. We’ll be feeding the fix into the PrestaShop along with a suggestion for setting the return method to allow automatic transfer of customers back to the correct page in your store.
Download of an updated paypal.tpl file (to replace the original in modules/paypal) has been added to the post above.