fix(euclid): change the address taken in SessionFlowRouting from shipping to billing address (#5435)

This commit is contained in:
Prajjwal Kumar
2024-07-25 15:22:44 +05:30
committed by GitHub
parent 2f47491c65
commit 9ca9545318

View File

@ -2553,7 +2553,7 @@ pub async fn list_payment_methods(
}
let sfr = SessionFlowRoutingInput {
state: &state,
country: shipping_address.clone().and_then(|ad| ad.country),
country: billing_address.clone().and_then(|ad| ad.country),
key_store: &key_store,
merchant_account: &merchant_account,
payment_attempt,