mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-10 23:30:31 +08:00
refactor(core): authenticate client secret with fulfilment time (#2026)
This commit is contained in:
@@ -24,7 +24,6 @@ pub use self::operations::{
|
||||
};
|
||||
use self::{
|
||||
flows::{ConstructFlowSpecificData, Feature},
|
||||
helpers::authenticate_client_secret,
|
||||
operations::{payment_complete_authorize, BoxedOperation, Operation},
|
||||
};
|
||||
use super::errors::StorageErrorExt;
|
||||
@@ -91,12 +90,6 @@ where
|
||||
)
|
||||
.await?;
|
||||
|
||||
authenticate_client_secret(
|
||||
req.get_client_secret(),
|
||||
&payment_data.payment_intent,
|
||||
merchant_account.intent_fulfillment_time,
|
||||
)?;
|
||||
|
||||
let (operation, customer) = operation
|
||||
.to_domain()?
|
||||
.get_or_create_customer_details(
|
||||
|
||||
Reference in New Issue
Block a user