example-mobile-backend icon indicating copy to clipboard operation
example-mobile-backend copied to clipboard

Currency

Open pierrem opened this issue 6 years ago • 1 comments

The currency send to Strip server is hardcoded to "usd", whatever the client send in parameters. line 53 :currency => "usd",

pierrem avatar May 10 '18 10:05 pierrem

Hi @pierrem, thanks for opening an issue.

Yep, I can confirm that our example hardcodes everything to "usd". I'll open an pull request to improve the example. Here are the places it's set if you haven't figured it out already:

https://github.com/stripe/example-ios-backend/blob/master/web.rb#L53 https://github.com/stripe/example-ios-backend/blob/master/web.rb#L94

joeydong-stripe avatar May 10 '18 17:05 joeydong-stripe