Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Stripe inventory and pricing Gatsby plugins #43

Open
kennedyrose opened this issue Oct 6, 2019 · 4 comments
Open

Stripe inventory and pricing Gatsby plugins #43

kennedyrose opened this issue Oct 6, 2019 · 4 comments

Comments

@kennedyrose
Copy link
Member

No description provided.

@tbaustin
Copy link
Contributor

@kennedyrose would this sdk work? https://stripe.com/docs/api/skus/list

Can make it like the esca price/inventory stuff if you want?

Also do you have test keys or should I just keep making my own for all these things

@kennedyrose
Copy link
Member Author

Yeah, with React hooks. I don't think I have keys set up for this yet.

@tbaustin
Copy link
Contributor

okay i'll just set up a test key with some test products!

@tbaustin
Copy link
Contributor

@kennedyrose this should be working to produce nodes for SSR. Since we have to use an sdk and pass a key the only other way i could think of using custom hooks would be to temporarily store the data in cache maybe?

https://github.com/tbaustin/labs/tree/master/packages/%40smarterlabs/gatsby-plugin-stripe-priceline

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

No branches or pull requests

2 participants