summaryrefslogtreecommitdiff
path: root/addons/payment_stripe/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/payment_stripe/controllers/main.py')
-rw-r--r--addons/payment_stripe/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_stripe/controllers/main.py b/addons/payment_stripe/controllers/main.py
index 27b36a902bf..8ccdfc935f9 100644
--- a/addons/payment_stripe/controllers/main.py
+++ b/addons/payment_stripe/controllers/main.py
@@ -66,5 +66,5 @@ class StripeController(http.Controller):
response = tx._create_stripe_charge(tokenid=post['tokenid'], email=post['email'])
_logger.info('Stripe: entering form_feedback with post data %s', pprint.pformat(response))
if response:
- request.env['payment.transaction'].sudo().form_feedback(response, 'stripe')
+ request.env['payment.transaction'].sudo().with_context(lang=None).form_feedback(response, 'stripe')
return post.pop('return_url', '/')