File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
crates/router/src/connector/iatapay Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,18 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for IatapayPaymentsRequest {
86
86
let payment_method = item. payment_method ;
87
87
let country = match payment_method {
88
88
PaymentMethod :: Upi => "IN" . to_string ( ) ,
89
- _ => item. get_billing_country ( ) ?. to_string ( ) ,
89
+
90
+ PaymentMethod :: Card
91
+ | PaymentMethod :: CardRedirect
92
+ | PaymentMethod :: PayLater
93
+ | PaymentMethod :: Wallet
94
+ | PaymentMethod :: BankRedirect
95
+ | PaymentMethod :: BankTransfer
96
+ | PaymentMethod :: Crypto
97
+ | PaymentMethod :: BankDebit
98
+ | PaymentMethod :: Reward
99
+ | PaymentMethod :: Voucher
100
+ | PaymentMethod :: GiftCard => item. get_billing_country ( ) ?. to_string ( ) ,
90
101
} ;
91
102
let return_url = item. get_return_url ( ) ?;
92
103
let payer_info = match item. request . payment_method_data . clone ( ) {
You can’t perform that action at this time.
0 commit comments