fix(router): decrease payment method token time based on payment_intent creation time (#1682)

Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
Sahkal Poddar
2023-07-14 12:12:54 +05:30
committed by GitHub
parent 08cca881c2
commit ce1d205219
3 changed files with 32 additions and 7 deletions

View File

@ -138,11 +138,12 @@ pub async fn list_customer_payment_method_api(
state.get_ref(),
&req,
json_payload.into_inner(),
|state, auth, _| {
|state, auth, req| {
cards::list_customer_payment_method(
state,
auth.merchant_account,
auth.key_store,
req,
&customer_id,
)
},