refactor(router): renamed Verify flow to SetupMandate (#2455)

This commit is contained in:
Prajjwal Kumar
2023-10-05 20:30:48 +05:30
committed by GitHub
parent 56546840f9
commit 80f3b1edae
61 changed files with 458 additions and 241 deletions

View File

@ -54,7 +54,7 @@ pub async fn setup_intents_create(
&req,
create_payment_req,
|state, auth, req| {
payments::payments_core::<api_types::Verify, api_types::PaymentsResponse, _, _, _>(
payments::payments_core::<api_types::SetupMandate, api_types::PaymentsResponse, _, _, _>(
state,
auth.merchant_account,
auth.key_store,
@ -178,7 +178,7 @@ pub async fn setup_intents_update(
&req,
payload,
|state, auth, req| {
payments::payments_core::<api_types::Verify, api_types::PaymentsResponse, _, _, _>(
payments::payments_core::<api_types::SetupMandate, api_types::PaymentsResponse, _, _, _>(
state,
auth.merchant_account,
auth.key_store,
@ -244,7 +244,7 @@ pub async fn setup_intents_confirm(
&req,
payload,
|state, auth, req| {
payments::payments_core::<api_types::Verify, api_types::PaymentsResponse, _, _, _>(
payments::payments_core::<api_types::SetupMandate, api_types::PaymentsResponse, _, _, _>(
state,
auth.merchant_account,
auth.key_store,