mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
fix(euclid): change the address taken in SessionFlowRouting from shipping to billing address (#5435)
This commit is contained in:
@ -2553,7 +2553,7 @@ pub async fn list_payment_methods(
|
|||||||
}
|
}
|
||||||
let sfr = SessionFlowRoutingInput {
|
let sfr = SessionFlowRoutingInput {
|
||||||
state: &state,
|
state: &state,
|
||||||
country: shipping_address.clone().and_then(|ad| ad.country),
|
country: billing_address.clone().and_then(|ad| ad.country),
|
||||||
key_store: &key_store,
|
key_store: &key_store,
|
||||||
merchant_account: &merchant_account,
|
merchant_account: &merchant_account,
|
||||||
payment_attempt,
|
payment_attempt,
|
||||||
|
|||||||
Reference in New Issue
Block a user