fix(connector): add local bank redirect type in compatibility layer, default the country to AT for Local Bank Redirect and add creds_identifier in access token (#5038)

Co-authored-by: Samraat Bansal <samraat.bansal@juspay.in>
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
AkshayaFoiger
2024-06-19 16:22:38 +05:30
committed by GitHub
parent 8c7e1a3b8b
commit 655b81d697
16 changed files with 59 additions and 44 deletions

View File

@ -946,7 +946,7 @@ fn get_pmd_based_on_payment_method_type(
.and_then(|billing_data| billing_data.get_optional_country()),
}),
),
Some(api_enums::PaymentMethodType::LocalBankTransfer) => {
Some(api_enums::PaymentMethodType::LocalBankRedirect) => {
Some(payments::PaymentMethodData::BankRedirect(
payments::BankRedirectData::LocalBankRedirect {},
))