tansengming/stripe-rails

Showing customer’s native currency based on country

ndbroadbent opened this issue · 2 comments

Hello,

First of all, thanks for the awesome gem! stripe-rails has made it very easy to integrate with Stripe. I keep hearing that presenting prices in a customer’s native currency can improve sales, so I was wondering if this feature might be a good addition to the stripe-rails gem. I need to:

  • Geolocate the visitor's IP address to find their country
  • Find the default currency for that country
  • Find the USD exchange rate, and present this currency on my pricing page

Have you done this before? Would it be better to do this on the server or the client? And do you know if Stripe has a way to handle this automatically?

that's not a bad idea! I'll think about adding it to 2.0 if enough folks are interested.

Would it be better to do this on the server or the client?

I'd rather handle this on the server side instead of the browser but I'm rather biased because I'm a backend rails developer =)

And do you know if Stripe has a way to handle this automatically?

I don't remember seeing this but I could be wrong!

If you do decide to build this into your app, I'll be happy to review it if the source code is available.