feat: expire client secret after a merchant configurable intent fufliment time (#956)

This commit is contained in:
Prajjwal Kumar
2023-05-03 16:08:13 +05:30
committed by GitHub
parent ed99655ebc
commit 03a96432a9
21 changed files with 201 additions and 49 deletions

View File

@ -75,7 +75,6 @@ pub async fn list_payment_method_api(
) -> HttpResponse {
let flow = Flow::PaymentMethodsList;
let payload = json_payload.into_inner();
let (auth, _) = match auth::check_client_secret_and_get_auth(req.headers(), &payload) {
Ok((auth, _auth_flow)) => (auth, _auth_flow),
Err(e) => return api::log_and_return_error_response(e),