committed by
Martin Trigaux
parent
e6ae9a21a2
commit
0f747451b0
@@ -79,7 +79,7 @@ class WebsitePayment(http.Controller):
|
||||
if tx_id:
|
||||
tx = request.env['payment.transaction'].browse(tx_id)
|
||||
status = (tx.state == 'done' and 'success') or 'danger'
|
||||
message = (tx.state == 'done' and 'Your payment was successful! It may take some time to be validated on our end.') or 'OOps! There was a problem with your payment.'
|
||||
message = (tx.state == 'done' and _('Your payment was successful! It may take some time to be validated on our end.')) or _('Oops! There was a problem with your payment.')
|
||||
return request.render('website_payment.confirm', {'tx': tx, 'status': status, 'message': message})
|
||||
else:
|
||||
return request.redirect('/my/home')
|
||||
|
||||
@@ -76,6 +76,12 @@ msgstr ""
|
||||
msgid "Manage your payment methods"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_payment
|
||||
#: code:addons/website_payment/controllers/main.py:82
|
||||
#, python-format
|
||||
msgid "Oops! There was a problem with your payment."
|
||||
msgstr ""
|
||||
|
||||
#. module: website_payment
|
||||
#: code:addons/website_payment/controllers/main.py:45
|
||||
#, python-format
|
||||
@@ -124,6 +130,12 @@ msgstr ""
|
||||
msgid "Website"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_payment
|
||||
#: code:addons/website_payment/controllers/main.py:82
|
||||
#, python-format
|
||||
msgid "Your payment was successful! It may take some time to be validated on our end."
|
||||
msgstr ""
|
||||
|
||||
#. module: website_payment
|
||||
#: model:ir.model,name:website_payment.model_account_config_settings
|
||||
msgid "account.config.settings"
|
||||
|
||||
Reference in New Issue
Block a user