Open b-bot opened 5 months ago
Hi @b-bot, Thank you for raising this.
We agree that it is a little cumbersome to wait until the user lands on the payment page to see the updated price.
We will discuss within the team about adding some events while the user is changing country and or postcode in the initial screen and get back to you.
Thanks @vijayasingam-paddle appreciate it!
Needing this right now, I hope we can get an event for this soon.
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