Skip to content
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

Stripe checkout does not exist #84

Open
AnaMoura opened this issue Aug 16, 2019 · 1 comment
Open

Stripe checkout does not exist #84

AnaMoura opened this issue Aug 16, 2019 · 1 comment

Comments

@AnaMoura
Copy link

AnaMoura commented Aug 16, 2019

I'm trying to use this to mock locally the stripe and be able to test it without touching our stripe test account however when trying to access stripe.redirectToCheckout it says
TypeError: stripe.redirectToCheckout is not a function. Can you help me?

@AnaMoura AnaMoura changed the title redirecttocheckout Stripe checkout does not exist Aug 16, 2019
@adrienverge
Copy link
Owner

Hi @AnaMoura, not all Stripe.js methods are implemented in localstripe. You can see which ones are in localstripe/localstripe-v3.js:

  • createToken()
  • createSource()
  • handleCardSetup()
  • handleCardPayment()

Feel free to contribute and add support for redirectToCheckout()!

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

No branches or pull requests

2 participants