feat(payment_method): [upi] add new payment method and use in iatapay (#1528)

Co-authored-by: arvindpatel24 <arvind.patel@juspay.in>
This commit is contained in:
Arvind Patel
2023-06-30 19:54:35 +05:30
committed by GitHub
parent 88860b9c0b
commit 2d11bf5b3a
10 changed files with 309 additions and 210 deletions

View File

@ -140,7 +140,8 @@ fn get_pm_and_subsequent_auth_detail(
| api::PaymentMethodData::BankDebit(_)
| api::PaymentMethodData::MandatePayment
| api::PaymentMethodData::BankTransfer(_)
| api::PaymentMethodData::Reward(_) => Err(errors::ConnectorError::NotSupported {
| api::PaymentMethodData::Reward(_)
| api::PaymentMethodData::Upi(_) => Err(errors::ConnectorError::NotSupported {
message: format!("{:?}", item.request.payment_method_data),
connector: "AuthorizeDotNet",
payment_experience: api_models::enums::PaymentExperience::RedirectToUrl.to_string(),