mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
refactor(router): [ACI] change payment error message from not supported to not implemented error (#2837)
This commit is contained in:
@ -412,10 +412,9 @@ impl TryFrom<&AciRouterData<&types::PaymentsAuthorizeRouterData>> for AciPayment
|
||||
| api::PaymentMethodData::CardRedirect(_)
|
||||
| api::PaymentMethodData::Upi(_)
|
||||
| api::PaymentMethodData::Voucher(_)
|
||||
| api::PaymentMethodData::CardToken(_) => Err(errors::ConnectorError::NotSupported {
|
||||
message: format!("{:?}", item.router_data.payment_method),
|
||||
connector: "Aci",
|
||||
})?,
|
||||
| api::PaymentMethodData::CardToken(_) => Err(errors::ConnectorError::NotImplemented(
|
||||
utils::get_unimplemented_payment_method_error_message("Aci"),
|
||||
))?,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user