Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Currency #26

Open
pierrem opened this issue May 10, 2018 · 1 comment
Open

Currency #26

pierrem opened this issue May 10, 2018 · 1 comment

Comments

@pierrem
Copy link

pierrem commented May 10, 2018

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

@joeydong-stripe
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants