mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(connector): Stripe revolut pay wallet integration (#8066)
This commit is contained in:
@ -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)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user