feat(connector): [Mollie] Implement card 3ds (#1421)

This commit is contained in:
Swangi Kumari
2023-07-16 18:12:33 +05:30
committed by GitHub
parent 16a2c46aff
commit 91f969a290
18 changed files with 335 additions and 288 deletions

View File

@ -2059,6 +2059,13 @@ impl MerchantConnectorAccountType {
Self::CacheVal(_) => false,
}
}
pub fn is_test_mode_on(&self) -> Option<bool> {
match self {
Self::DbVal(val) => val.test_mode,
Self::CacheVal(_) => None,
}
}
}
pub async fn get_merchant_connector_account(
@ -2154,6 +2161,7 @@ pub fn router_data_type_conversion<F1, F2, Req1, Req2, Res1, Res2>(
connector_customer: router_data.connector_customer,
preprocessing_id: router_data.preprocessing_id,
connector_request_reference_id: router_data.connector_request_reference_id,
test_mode: router_data.test_mode,
}
}