#tallmanpapi
1 messages · Page 1 of 1 (latest)
Let's back up for a second - are you confused about webhooks, or are you confused about implementing the buy button
haha, sorry.. No only confused about the buy button and it's implementation in Next.js with TypeScript.
Basically I would love to have some resources for e.g. docs, that could show me how to use the buy button in Next.js with TypeScript, because the official docs, don't seem to support anything but React or plain HTML.
Hmm... letme check on that - give me a few minutes
Of course, please, take your time, solve other people their issues, I have been struggling with this literally for three days..
I have been looking at many other ways, but they're all out of date from the official Stripe Developers YouTube channel for example.
Please, take your time, I have to leave in a bit, sorry, so take your time! 🙂
I really appreciate the help, I am starting to get clueless, and it all seems so nice and dev-friendly, and it actually really is, but not for the newer versions of Next.js with TypeScript.
Yeah I don't think we have type definitions for the buy button right now,
Yeah, f*k.. would you recommend something else that will work now with Next.js and TypeScript?
Its literally also the only thing I need before this web-app can go live, everything works, there's just no payment wall currently..
You could just ignore the typescript errors (https://nextjs.org/docs/app/building-your-application/configuring/typescript#ignoring-typescript-errors). Alternatively you could just create your own button that links to a payment link (https://stripe.com/docs/payment-links/create)
Okay, interesting, thank you! Will look into this.