Skip to content

Commit

Permalink
feat(router): allow billing and shipping address update in payments c…
Browse files Browse the repository at this point in the history
…onfirm flow (#2963)
  • Loading branch information
sai-harsha-vardhan authored Nov 23, 2023
1 parent 42eedf3 commit 59ef162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/core/payments/operations/payment_confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl<F: Send + Clone, Ctx: PaymentMethodRetrieve>

let shipping_address_fut = tokio::spawn(
async move {
helpers::create_or_find_address_for_payment_by_request(
helpers::create_or_update_address_for_payment_by_request(
store.as_ref(),
m_request_shipping.as_ref(),
m_payment_intent_shipping_address_id.as_deref(),
Expand Down Expand Up @@ -213,7 +213,7 @@ impl<F: Send + Clone, Ctx: PaymentMethodRetrieve>

let billing_address_fut = tokio::spawn(
async move {
helpers::create_or_find_address_for_payment_by_request(
helpers::create_or_update_address_for_payment_by_request(
store.as_ref(),
m_request_billing.as_ref(),
m_payment_intent_billing_address_id.as_deref(),
Expand Down

0 comments on commit 59ef162

Please sign in to comment.