From f2bcebb9f2046f3c87dbcf3c99054cee555c53fe Mon Sep 17 00:00:00 2001 From: fda-odoo <31888904+fda-odoo@users.noreply.github.com> Date: Wed, 14 Feb 2018 15:03:56 +0100 Subject: [PATCH] [FIX] payment_paypal: make IPN work again (revert fix) (#23048) Revert fix from xmo (https://github.com/odoo/odoo/commit/29b9b74ceac86a17897eff032a24416fb26b38d1) that broke the IPN flow. --- addons/payment_paypal/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/payment_paypal/controllers/main.py b/addons/payment_paypal/controllers/main.py index 951799917a4..e14b7d59ca6 100644 --- a/addons/payment_paypal/controllers/main.py +++ b/addons/payment_paypal/controllers/main.py @@ -63,7 +63,7 @@ class PaypalController(http.Controller): Once data is validated, process it. """ res = False - new_post = dict(post, cmd='_notify-validate', charset='utf-8') + new_post = dict(post, cmd='_notify-validate', charset='UTF-8') reference = post.get('item_number') tx = None if reference: