You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening inline checkout, an initial country code is passed in by Paddle using geolocation. This allows us to get the correct PricePreview(). However if the user changes the country, there is no callback to update the pricing on the page. This could be they are out of the country or using a VPN.
Steps to reproduce
Use inline checkout with callback events.
Open checkout programmatically - see default country code is passed in when none supplied.
Change country using Paddle select.
Pricing data reflects the old country code prices until moving to the payment screen (card details / PayPal etc.) by firing the checkout.customer.updated callback.
Price Preview function is not usable without a callback for country change.
What did you expect to happen?
A callback event checkout.address.updated added so whenever a user changes their country or postal code the system can adjust the displayed pricing data.
How are you integrating?
Next.js, will be applicable anywhere as it's a library level issue.
Logs
No response
The text was updated successfully, but these errors were encountered:
What happened?
When opening inline checkout, an initial country code is passed in by Paddle using geolocation. This allows us to get the correct
PricePreview()
. However if the user changes the country, there is no callback to update the pricing on the page. This could be they are out of the country or using a VPN.Steps to reproduce
checkout.customer.updated
callback.What did you expect to happen?
A callback event
checkout.address.updated
added so whenever a user changes their country or postal code the system can adjust the displayed pricing data.How are you integrating?
Next.js, will be applicable anywhere as it's a library level issue.
Logs
No response
The text was updated successfully, but these errors were encountered: