#yodasgerbil-graphql
1 messages · Page 1 of 1 (latest)
I'm already using Gatsby with GraphQl to query products
e.g. allStripePrice(
filter: { active: { eq: true } }
sort: { fields: [unit_amount] }
) {
edges {
node {
id
active
currency
unit_amount
product {
id
name
images
metadata {
addon
}
description
}
I'm just wondering if the tax rate is there
what is that allStripePrice doing? is that querying your backend? is that querying some library function that then proxy's an HTTP request to Stripe?
I haven't played around with Gatsby so not sure which parts are doing what here
Its' using a gatsby plugin called https://www.gatsbyjs.com/plugins/gatsby-source-stripe/ which I think connects to Strips API
Thanks for your help, found out I needed to download an additioanal type called TaxRate to access it via graphQl