mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(router): added incoming refund webhooks flow (#683)
Co-authored-by: sai harsha <sai.harsha@sai.harsha-MacBookPro>
This commit is contained in:
@ -400,6 +400,8 @@ pub enum WebhooksFlowError {
|
||||
MerchantWebhookURLNotConfigured,
|
||||
#[error("Payments core flow failed")]
|
||||
PaymentsCoreFailed,
|
||||
#[error("Refunds core flow failed")]
|
||||
RefundsCoreFailed,
|
||||
#[error("Webhook event creation failed")]
|
||||
WebhookEventCreationFailed,
|
||||
#[error("Unable to fork webhooks flow for outgoing webhooks")]
|
||||
@ -408,6 +410,8 @@ pub enum WebhooksFlowError {
|
||||
CallToMerchantFailed,
|
||||
#[error("Webhook not received by merchant")]
|
||||
NotReceivedByMerchant,
|
||||
#[error("Resource not found")]
|
||||
ResourceNotFound,
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
|
||||
Reference in New Issue
Block a user