mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +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
@ -146,7 +146,7 @@ impl TryFrom<&types::PaymentsRouterData> for CreateTransactionRequest {
|
||||
account_number: "XXXXX".to_string(),
|
||||
}),
|
||||
api::PaymentMethod::PayLater(_) => PaymentDetails::Klarna,
|
||||
api::PaymentMethod::Wallet => PaymentDetails::Wallet,
|
||||
api::PaymentMethod::Wallet(_) => PaymentDetails::Wallet,
|
||||
api::PaymentMethod::Paypal => PaymentDetails::Paypal,
|
||||
};
|
||||
let authorization_indicator_type =
|
||||
@ -355,7 +355,7 @@ impl<F> TryFrom<&types::RefundsRouterData<F>> for CreateRefundRequest {
|
||||
account_number: "XXXXX".to_string(),
|
||||
}),
|
||||
api::PaymentMethod::PayLater(_) => PaymentDetails::Klarna,
|
||||
api::PaymentMethod::Wallet => PaymentDetails::Wallet,
|
||||
api::PaymentMethod::Wallet(_) => PaymentDetails::Wallet,
|
||||
api::PaymentMethod::Paypal => PaymentDetails::Paypal,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user