Giter VIP home page Giter VIP logo

Comments (4)

spikyjt avatar spikyjt commented on June 15, 2024

Additionally, I've tried this in a static query as well as a page query and neither work.

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 15, 2024

@spikyjt I noticed that you mentioned that you're able to run the query successfully in the GraphiQL explorer. Is that the case? If so, that makes me think that Gatsby is getting the data just fine from the Stripe API, and there's an issue with how you're querying it in your code. Can you share a screenshot of the results you get when you do the query in the explorer as well as can you share the full query you're using in code?

Thanks!

from gatsby-source-stripe.

spikyjt avatar spikyjt commented on June 15, 2024

@njosefbeck I'm an idiot! The problem was actually in another query on an individual product page, that hadn't been updated to use the stripe objects yet, but queried a resource called product. I got confused because I wasn't viewing that page, but of course it get's rendered at build time, so the query was still being run.

Sorry to waste your time.

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 15, 2024

No worries! Glad you figured it out!

from gatsby-source-stripe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.