[FIX] payment_authorize: record cancellation message on transactions
Courtesy of: - Foram Katharotiya <fka@odoo.com> - Kinjal Mehta <kme@odoo.com>
This commit is contained in:
@@ -230,6 +230,7 @@ class TxAuthorize(models.Model):
|
||||
self.write({
|
||||
'state': 'cancel',
|
||||
'acquirer_reference': data.get('x_trans_id'),
|
||||
'state_message': data.get('x_response_reason_text'),
|
||||
})
|
||||
return True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user