Merge pull request #5928 from expsa/change_token_flow
[FIX] payment_hyperpay_tokenization: use correct param name for regis…
This commit is contained in:
commit
ca5a774157
|
|
@ -200,7 +200,7 @@ class HyperPayTokenization(Controller):
|
|||
return {'state': False, 'message': 'Card data not found in response'}
|
||||
|
||||
initial_tx_id = data.get('resultDetails', {}).get('CardholderInitiatedTransactionID') or data.get('CardholderInitiatedTransactionID', '')
|
||||
registration_id = data.get('id', '')
|
||||
registration_id = data.get('registrationId', '')
|
||||
|
||||
if not initial_tx_id:
|
||||
_logger.error('Initial transaction ID not found - token will not work for recurring payments')
|
||||
|
|
|
|||
Loading…
Reference in New Issue