[Feature]: Automatically detect the customer IP address in price preview
Bastian opened this issue · 3 comments
Tell us about your feature request
To display localized prices, the price preview has a parameter customerIpAddress
which can be set with the current IP of the customer. At the moment, the documentation suggests fetching the IP address from an external service like ipify.org. Since the request is sent from the client anyway (unlike the Admin API, which is usually "proxied" through the application backend), Paddle should be able to get the IP address directly from the request without having to specify it explicitly. This would also be consistent with the checkout, which does not have an option to specify an IP address, but still automatically selects the correct country and price for the user.
What problem are you looking to solve?
Improving developer experience
Additional context
No response
How important is this suggestion to you?
Nice to have
Hi @Bastian ,
That is good feedback. Thank you for raising it with us.
I will discuss about this with the rest of my team and get back to you.