[FIX] payment_authorize: flag tokens as verified
task-2612977 closes odoo/odoo#74568 Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
This commit is contained in:
@@ -171,6 +171,7 @@ class PaymentTransaction(models.Model):
|
||||
'partner_id': self.partner_id.id,
|
||||
'acquirer_ref': cust_profile.get('payment_profile_id'),
|
||||
'authorize_profile': cust_profile.get('profile_id'),
|
||||
'verified': True,
|
||||
})
|
||||
self.write({
|
||||
'token_id': token.id,
|
||||
|
||||
Reference in New Issue
Block a user