#rezamirzad
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
would be with you shortly
sure
the Checkout client-only integration.
this is a deprecated and you shouldn't use it for new implementations
if you have it already then you should follow this guide https://stripe.com/docs/payments/checkout/migration to migrate to the new implementation
otherwise check https://stripe.com/docs/checkout/quickstart for the new integration for Checkout
if you're only using graphql in the backend it would be hard to integrate with Stripe since we don't have a direct SDK to work with graphql
unless you want to write the implementation and maintain it yourself
there's also an open source project https://nhost.io/blog/open-source-stripe-graphql-api but is not really something that we do support or have any knowledge of
am i able to just use the api with a controller on my backend?
what type of backend are you using?
only the graphql or is graphql hosted in a nodejs or other type of backends?
it is a graphql hosted in a nodejs
ok then you can create a separate endpoint other than the graphql where you can use our Nodejs SDK to create a Checkout Session as explained in the quickstart guide I sent you earlier
i see.
something like a controller?
like i use something like this?
yes sure