[FIX] website_sale: transaction error
When an error occurs during the transaction, the customer must receive a message to inform him. opw:645705
This commit is contained in:
parent
9699f510e4
commit
4f91dc371c
|
@ -766,8 +766,8 @@ class website_sale(http.Controller):
|
|||
message = '<p>%s</p>' % _('Your transaction is waiting confirmation.')
|
||||
if tx.acquirer_id.post_msg:
|
||||
message += tx.acquirer_id.post_msg
|
||||
else:
|
||||
message = '<p>%s</p>' % _('Your transaction is waiting confirmation.')
|
||||
elif state == 'error':
|
||||
message = '<p>%s</p>' % _('An error occured during the transaction.')
|
||||
validation = tx.acquirer_id.validation
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue