Skip to content

Commit

Permalink
refactor(router): use billing address for payment method list filters…
Browse files Browse the repository at this point in the history
… as opposed to shipping address (#2176)
  • Loading branch information
vspecky authored Sep 18, 2023
1 parent a0a8ef2 commit b3d5d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/core/payment_methods/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ pub async fn list_payment_methods(
&mut response,
payment_intent.as_ref(),
payment_attempt.as_ref(),
shipping_address.as_ref(),
billing_address.as_ref(),
mca.connector_name,
pm_config_mapping,
&state.conf.mandates.supported_payment_methods,
Expand Down

0 comments on commit b3d5d3b

Please sign in to comment.