feat(core): add support for multiple merchant_connector_account (#2655)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shanks <shashank.attarde@juspay.in>
This commit is contained in:
Narayan Bhat
2023-10-25 21:27:24 +05:30
committed by GitHub
parent ca8a850eb6
commit 5988d8d426
87 changed files with 394 additions and 138 deletions

View File

@ -143,6 +143,7 @@ pub async fn mandate_procedure<F, FData>(
mut resp: types::RouterData<F, FData, types::PaymentsResponseData>,
maybe_customer: &Option<domain::Customer>,
pm_id: Option<String>,
merchant_connector_id: Option<String>,
) -> errors::RouterResult<types::RouterData<F, FData, types::PaymentsResponseData>>
where
FData: MandateBehaviour,
@ -228,6 +229,7 @@ where
network_txn_id,
get_insensitive_payment_method_data_if_exists(&resp),
mandate_reference,
merchant_connector_id,
)? {
let connector = new_mandate_data.connector.clone();
logger::debug!("{:?}", new_mandate_data);