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:
Sai Harsha Vardhan
2023-11-30 16:56:34 +05:30
committed by GitHub
parent 1e60c71098
commit 1ca2ba4594
88 changed files with 363 additions and 11 deletions

View File

@ -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)