You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, localstripe only accept sources, not card tokens. The "supported" use case is to attach the token to a customer first, in order to have a card_ object:
Of course, contributions to support creating charges directly from tokens are welcome.
localstripe acts like real Stripe servers, which means example tokens from the docs (like tok_visa) don't work. You need to create a token, like in real-life conditions:
Trying to create a charge using the docker image fails with a generic error message:
Response:
How do I get a more specific error message, or figure out what I'm doing wrong?
The text was updated successfully, but these errors were encountered: