feat(connector): Stripe revolut pay wallet integration (#8066)

This commit is contained in:
Nithin N
2025-05-27 12:07:44 +05:30
committed by GitHub
parent 2432133a28
commit b3d47b650d
52 changed files with 165 additions and 42 deletions

View File

@ -161,6 +161,7 @@ fn get_dir_value_payment_method(
api_enums::PaymentMethodType::DirectCarrierBilling => {
Ok(dirval!(MobilePaymentType = DirectCarrierBilling))
}
api_enums::PaymentMethodType::RevolutPay => Ok(dirval!(WalletType = RevolutPay)),
}
}

View File

@ -151,6 +151,7 @@ impl IntoDirValue for (api_enums::PaymentMethodType, api_enums::PaymentMethod) {
api_enums::PaymentMethodType::CryptoCurrency => {
Ok(dirval!(CryptoType = CryptoCurrency))
}
api_enums::PaymentMethodType::RevolutPay => Ok(dirval!(WalletType = RevolutPay)),
api_enums::PaymentMethodType::Ach => match self.1 {
api_enums::PaymentMethod::BankDebit => Ok(dirval!(BankDebitType = Ach)),
api_enums::PaymentMethod::BankTransfer => Ok(dirval!(BankTransferType = Ach)),