adrienverge / localstripe

A fake but stateful Stripe server that you can run locally, for testing purposes.
GNU General Public License v3.0
191 stars 57 forks source link

Stripe checkout does not exist #84

Open AnaMoura opened 5 years ago

AnaMoura commented 5 years ago

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?

adrienverge commented 5 years ago

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

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