-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing the token from stripe.js #125
Comments
Ok, this seem to do the trick. In the posted JSON, I see a
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to call the stripe charge API. The frontend using the
stripe.js
gives me a token, which needs to be passed assource
parameter to the API. Looking at the Web.Stripe.Charge module, I wonder how to do the equivalent step with the older version of the API. In the older version's documentation, there is an equivalent parameter calledcard
. But I don't see how to pass it, the (Charge
)[https://hackage.haskell.org/package/stripe-core-2.5.0/docs/Web-Stripe-Charge.html#t:Charge] data type do not seem to have a way to accept the token. Is there anything I am missing? Would appreciate any help. Thanks.The text was updated successfully, but these errors were encountered: