mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
refactor: removed the usage of wallet(payment method) for paypal (#23)
This commit is contained in:
committed by
GitHub
parent
32e7d34572
commit
b2e45e614c
@ -614,6 +614,7 @@ pub async fn make_pm_data<'a, F: Clone, R>(
|
||||
Ok(pm.to_owned())
|
||||
}
|
||||
(pm @ Some(api::PaymentMethod::PayLater(_)), _) => Ok(pm.to_owned()),
|
||||
(pm @ Some(api::PaymentMethod::Wallet(_)), _) => Ok(pm.to_owned()),
|
||||
_ => Ok(None),
|
||||
}?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user