From aaf5d355148a797b55cb01150feb020d571e24c0 Mon Sep 17 00:00:00 2001 From: chikke srujan <121822803+srujanchikke@users.noreply.github.com> Date: Thu, 25 May 2023 11:58:27 +0530 Subject: [PATCH] fix status mapping Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com> --- crates/router/src/connector/authorizedotnet/transformers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/connector/authorizedotnet/transformers.rs b/crates/router/src/connector/authorizedotnet/transformers.rs index d3335527878..683062474d8 100644 --- a/crates/router/src/connector/authorizedotnet/transformers.rs +++ b/crates/router/src/connector/authorizedotnet/transformers.rs @@ -941,7 +941,7 @@ impl From for SyncStatus { | AuthorizedotnetWebhookEvent::AuthCapCreated => Self::CapturedPendingSettlement, AuthorizedotnetWebhookEvent::PriorAuthCapture => Self::SettledSuccessfully, AuthorizedotnetWebhookEvent::VoidCreated => Self::Voided, - AuthorizedotnetWebhookEvent::RefundCreated => Self::RefundPendingSettlement, + AuthorizedotnetWebhookEvent::RefundCreated => Self::RefundSettledSuccessfully, } } }