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

Migrating to @stripe/react-stripe-js and using the Stripe hooks #511

Open
tomhoad opened this issue Nov 16, 2020 · 3 comments
Open

Migrating to @stripe/react-stripe-js and using the Stripe hooks #511

tomhoad opened this issue Nov 16, 2020 · 3 comments

Comments

@tomhoad
Copy link

tomhoad commented Nov 16, 2020

The react-stripe-elements package has been deprecated and it is recommended that users migrate to react-stripe-js (https://github.com/stripe/react-stripe-js/blob/master/docs/migrating.md). The new package includes some convenience hooks.

I'm happy to rewrite the chapters:

  • Create a billing form
  • Connect the billing form

to reflect the change, if this would be helpful? It might take a couple of weeks though.

@jayair
Copy link
Contributor

jayair commented Nov 22, 2020

Ah thanks for letting us know. Actually, what would really help is if you submit a PR for the demo repo — https://github.com/AnomalyInnovations/serverless-stack-demo-client. Then I can go make the changes to the chapters and the steps.

@mstibbard
Copy link

Hi @tomhoad are you able to share the updated code?

@pavinduLakshan
Copy link
Contributor

@jayair @mstibbard I replaced react-stripe-elements with react-stripe-js in the above mentioned PR.

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

4 participants