#husilu

1 messages · Page 1 of 1 (latest)

half quiverBOT
warped sedge
#

hi

velvet mist
#

Hi
What is the shipping address set there?

warped sedge
#

US

velvet mist
#

that's why, Google will convert that I think.

warped sedge
#

but if i did not set shippingOptions the currency is right

#

ev.updateWith({
status: "success",
total: {
amount: this.stripe_total_amount,
label: "vivaia",
},
// shippingOptions: this.StripeshippingOptions,
});

⬆️ this code the currency is right

#

ev.updateWith({
status: "success",
total: {
amount: this.stripe_total_amount,
label: "vivaia",
},
shippingOptions: this.StripeshippingOptions,
});
this is wrong

velvet mist
#

yes Google will convert the currency according to the shipping address.

warped sedge
#

ok i try to test this

#

thank you

#

i choose address to HK but the currency is USD too

#

why

#

😭

velvet mist
#

From where you are opening that page? which country

warped sedge
#

Hong Kong

velvet mist
#

This seem to be Google Pay related and not Stripe.

#

Between how are you creating that express checkout? can you share its code please?

warped sedge
#

this.paymentRequest = this.Stripe.paymentRequest({
country: this.$store.state.country_code,
currency: this.$store.state.currency.toLowerCase(),
total: {
label: "vivaia",
amount,
},
requestPayerName: true,
requestPayerEmail: true,
requestShipping: true,
requestPayerPhone: true
});

half quiverBOT
velvet mist
#

and what are the values of country and currency ?

warped sedge
#

country:HK
currency:MXN

#

you can see currency is right at first

#

in the video

#

but when i choose shippingOption to change the price,the currency change too

velvet mist
#

country:HK
currency:MXN
I'm not sure, but I don't think HongKong shipping address using mexican currency is accurate... but it seems Google Pay updated with a supported/accurate currency

#

at the end the same amount is being displayed, right ?

warped sedge
#

amount is right,only currency is wrong

warped sedge
#

is wrong too

#

it also change to USD

velvet mist
#

This behavior is managed by Google Pay, Stripe has no direct impact on it.

warped sedge
#

OMG

#

Okey

#

Okay

#

thank you