feat(connector): [Zen] Add Latam Payment Methods (#1670)

Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
This commit is contained in:
SamraatBansal
2023-07-27 00:54:45 +05:30
committed by GitHub
parent 38f14b9f39
commit 4df67adb9b
21 changed files with 494 additions and 30 deletions

View File

@ -167,7 +167,8 @@ impl TryFrom<&PaymentMethodData> for SalePaymentMethod {
| PaymentMethodData::MandatePayment
| PaymentMethodData::Reward(_)
| PaymentMethodData::GiftCard(_)
| PaymentMethodData::Upi(_) => {
| PaymentMethodData::Upi(_)
| api::PaymentMethodData::Voucher(_) => {
Err(errors::ConnectorError::NotImplemented("Payment methods".to_string()).into())
}
}