fix(process): add process tracker support for instant refunds (#5818)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2024-09-16 17:58:34 +05:30
committed by GitHub
parent 61e2ca9b17
commit 6e74b80098
5 changed files with 101 additions and 31 deletions

View File

@ -816,7 +816,7 @@ async fn refunds_incoming_webhook_flow(
.to_not_found_response(errors::ApiErrorResponse::WebhookResourceNotFound)
.attach_printable_lazy(|| format!("Failed while updating refund: refund_id: {refund_id}"))?
} else {
Box::pin(refunds::refund_retrieve_core(
Box::pin(refunds::refund_retrieve_core_with_refund_id(
state.clone(),
merchant_account.clone(),
None,