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

@ -2570,6 +2570,9 @@ mod tests {
payment_confirm_source: None,
surcharge_applicable: None,
updated_by: storage_enums::MerchantStorageScheme::PostgresOnly.to_string(),
request_incremental_authorization:
common_enums::RequestIncrementalAuthorization::default(),
incremental_authorization_allowed: None,
};
let req_cs = Some("1".to_string());
let merchant_fulfillment_time = Some(900);
@ -2620,6 +2623,9 @@ mod tests {
payment_confirm_source: None,
surcharge_applicable: None,
updated_by: storage_enums::MerchantStorageScheme::PostgresOnly.to_string(),
request_incremental_authorization:
common_enums::RequestIncrementalAuthorization::default(),
incremental_authorization_allowed: None,
};
let req_cs = Some("1".to_string());
let merchant_fulfillment_time = Some(10);
@ -2670,6 +2676,9 @@ mod tests {
payment_confirm_source: None,
surcharge_applicable: None,
updated_by: storage_enums::MerchantStorageScheme::PostgresOnly.to_string(),
request_incremental_authorization:
common_enums::RequestIncrementalAuthorization::default(),
incremental_authorization_allowed: None,
};
let req_cs = Some("1".to_string());
let merchant_fulfillment_time = Some(10);