summaryrefslogtreecommitdiff
path: root/addons/payment_paypal/controllers/main.py
diff options
context:
space:
mode:
authorfda-odoo <31888904+fda-odoo@users.noreply.github.com>2018-02-14 15:03:56 +0100
committerGitHub <noreply@github.com>2018-02-14 15:03:56 +0100
commitf2bcebb9f2046f3c87dbcf3c99054cee555c53fe (patch)
treed0eea08b7e427851d92dec5ee76d9579879bbb36 /addons/payment_paypal/controllers/main.py
parentfc6a04c6224bb0f602dd908bc42eee4efa1cf3b9 (diff)
[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.
Diffstat (limited to 'addons/payment_paypal/controllers/main.py')
-rw-r--r--addons/payment_paypal/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
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: