mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +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::CardRedirect(_)
|
||||||
| api::PaymentMethodData::Upi(_)
|
| api::PaymentMethodData::Upi(_)
|
||||||
| api::PaymentMethodData::Voucher(_)
|
| api::PaymentMethodData::Voucher(_)
|
||||||
| api::PaymentMethodData::CardToken(_) => Err(errors::ConnectorError::NotSupported {
|
| api::PaymentMethodData::CardToken(_) => Err(errors::ConnectorError::NotImplemented(
|
||||||
message: format!("{:?}", item.router_data.payment_method),
|
utils::get_unimplemented_payment_method_error_message("Aci"),
|
||||||
connector: "Aci",
|
))?,
|
||||||
})?,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user