refactor(address): pass payment method billing to the connector module (#3828)

Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-03-12 15:52:52 +05:30
committed by GitHub
parent ac8ddd4020
commit 195c700e6c
55 changed files with 405 additions and 387 deletions

View File

@ -255,7 +255,7 @@ pub 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 {
refunds::refund_retrieve_core(
Box::pin(refunds::refund_retrieve_core(
state.clone(),
merchant_account.clone(),
key_store,
@ -264,7 +264,7 @@ pub async fn refunds_incoming_webhook_flow(
force_sync: Some(true),
merchant_connector_details: None,
},
)
))
.await
.attach_printable_lazy(|| format!("Failed while updating refund: refund_id: {refund_id}"))?
};