Comments (6)
In my experience this means gatsby-source-stripe wasn't able to create any Sku nodes, so there's nothing to query. Have you created skus in your Stripe account?
from gatsby-starter-stripe.
I have created one product with three skus:
from gatsby-starter-stripe.
Slowly chipping away at this.
First, I had an issue with not recognizing images.
So you need to include images in the overall products and information there and then add that image to the SKUs, for some reason placing a URL does not work there.
Now I have this issue:
However, I added a price to my SKUs.
I think the issue is we need more documentation on how to set this up in Stripe so the queries work. Secondly, maybe making the queries more grateful for those who don't have all the requirements for some reason?
from gatsby-starter-stripe.
@stcalica the issue in the image you provided is that the result of sku[id]
is undefined, not that price
is undefined. I don't have enough info to say why that is.
Secondly, maybe making the queries more grateful for those who don't have all the requirements for some reason?
As far as this goes, the graphQL queries are pretty all or nothing. They will throw an error if the field does not exist, and I don't know of a way around that.
from gatsby-starter-stripe.
@brxck yeah GatsbyJS is my first run in with GraphQL. So are you saying GraphQL doesn't state what's missing? Just a fail or not?
That's really annoying for a project like this.
Then again I need to run my own checks, but was just trying to use this right of the box.
from gatsby-starter-stripe.
I believe any issues should be fixed by the new gatsby-source-stripe version, and required fields are now clarified in the README thanks to #12.
from gatsby-starter-stripe.
Related Issues (19)
- Documentation on bare minimum set up in Stripe for use of this starter HOT 2
- UNHANDLED REJECTION Maximum call stack size exceeded HOT 1
- Issue on start HOT 2
- Unknown field 'description' on type 'StripeSkuProduct'. HOT 3
- Are there any plans to update for new SCA Stripe Checkout? HOT 1
- The orders API and consequently the SKU endpoint has been deprecated HOT 1
- Cannot query field "allStripeSku" on type "Query". ββ GraphQL can't find allStripeSku HOT 9
- Orders API is deprecated
- Add a Stripe CLI fixture to help people get started HOT 1
- Example for a Subscription Item HOT 2
- Include directions to remove images from repo history
- Installation problem HOT 4
- Error in function useStaticQuery in ./.cache/gatsby-browser-entry.js HOT 8
- Issue Deploying to Netlify HOT 1
- Issue with Stripe Redirect to Checkout HOT 1
- Is it possible not to use commercial APIsοΌ
- Upgrade gatsby-source-stripe to v3
- Server Errors (500) POSTing to Stripe HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-starter-stripe.