feat(connector): [Adyen] Add support for card redirection (KNET, BENEFIT) (#1816)

Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
This commit is contained in:
Sangamesh Kulkarni
2023-08-08 12:39:14 +05:30
committed by GitHub
parent 7b2c419ce5
commit 62461f1b38
17 changed files with 168 additions and 2 deletions

View File

@ -1548,6 +1548,7 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::Becs => Self::BankDebit,
PaymentMethodType::BniVa => Self::BankTransfer,
PaymentMethodType::BriVa => Self::BankTransfer,
PaymentMethodType::Benefit => Self::CardRedirect,
PaymentMethodType::Bizum => Self::BankRedirect,
PaymentMethodType::Blik => Self::BankRedirect,
PaymentMethodType::Alfamart => Self::Voucher,
@ -1567,6 +1568,7 @@ impl From<PaymentMethodType> for PaymentMethod {
PaymentMethodType::Ideal => Self::BankRedirect,
PaymentMethodType::Klarna => Self::PayLater,
PaymentMethodType::KakaoPay => Self::Wallet,
PaymentMethodType::Knet => Self::CardRedirect,
PaymentMethodType::MbWay => Self::Wallet,
PaymentMethodType::MobilePay => Self::Wallet,
PaymentMethodType::Momo => Self::Wallet,