#husilu
1 messages · Page 1 of 1 (latest)
hi
Hi
What is the shipping address set there?
US
that's why, Google will convert that I think.
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
yes Google will convert the currency according to the shipping address.
ok i try to test this
thank you
i choose address to HK but the currency is USD too
why
😭
From where you are opening that page? which country
Hong Kong
This seem to be Google Pay related and not Stripe.
Between how are you creating that express checkout? can you share its code please?
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
});
and what are the values of country and currency ?
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
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 ?
amount is right,only currency is wrong
but when i choose HongKong shipping address and use HK currency
is wrong too
it also change to USD
This behavior is managed by Google Pay, Stripe has no direct impact on it.