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
Tutorial codeblock indicates config should include STRIPE_SECRET_KEY but does not mention STRIPE_PUBLISHABLE_KEY.
For users supplying only the STRIPE_SECRET_KEY (without also adding STRIPE_PUBLISHABLE_KEY), gatsby-source-stripe fails to load allStripePrice as a field to be tested in GraphiQL; a browser pointed at http://localhost:8000 responds with: Error: There was an error in your GraphQL query: Cannot query field "allStripePrice" on type "Query". Did you mean "allSitePage"?
Description
Tutorial codeblock indicates config should include
STRIPE_SECRET_KEY
but does not mentionSTRIPE_PUBLISHABLE_KEY
.For users supplying only the
STRIPE_SECRET_KEY
(without also addingSTRIPE_PUBLISHABLE_KEY
),gatsby-source-stripe
fails to loadallStripePrice
as a field to be tested in GraphiQL; a browser pointed at http://localhost:8000 responds with:Error: There was an error in your GraphQL query: Cannot query field "allStripePrice" on type "Query". Did you mean "allSitePage"?
We can avoid newcomers being put off by an ambiguous instruction being given in tutorial codeblocks, with a one-liner addition to https://github.com/gatsbyjs/gatsby/blob/master/docs/tutorial/ecommerce-tutorial/index.md
The text was updated successfully, but these errors were encountered: