mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): make core changes in payments flow to support incremental authorization (#3009)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1e60c71098
commit
1ca2ba4594
@ -106,6 +106,8 @@ impl PaymentIntentInterface for MockDb {
|
||||
payment_confirm_source: new.payment_confirm_source,
|
||||
updated_by: storage_scheme.to_string(),
|
||||
surcharge_applicable: new.surcharge_applicable,
|
||||
request_incremental_authorization: new.request_incremental_authorization,
|
||||
incremental_authorization_allowed: new.incremental_authorization_allowed,
|
||||
};
|
||||
payment_intents.push(payment_intent.clone());
|
||||
Ok(payment_intent)
|
||||
|
||||
Reference in New Issue
Block a user