#Does anyone have any good STRIPE resources for Next.js App router?

11 messages ยท Page 1 of 1 (latest)

upbeat apexBOT
#

๐Ÿ”Ž This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

๐Ÿ•ต๏ธ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

โœ… You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

magic sigil
#

I like this guide: https://docs.stripe.com/payments/quickstart?client=next

But you can also build your own configuration. Keep in mind the basic behavior: somewhere, somewhen a paymentintent need to be created and somewhere, somewhen it need to be confirmed.

Confirming can be done serverside or clientside and that also via multiple possible options (you can choose one). One example for collecting client data can be confirmation tokens, another by just creating a payment method and save the id or you can confirm it clientside by using the elements provider (like you see in the linked doc), ...

Of course you can also add your webhooks to it and more. That's just a simple version on how to collect payments though stripe with a nextjs guide

errant pewter
#

Thank you I'll try to figgure it out. I already did something few hours ago but I want to do it the right way and I don't really know if I did it that way I mean it works but hope it's secure. Thats why I am looking for good guide. Thank you I read that docs before and I used them to make most of my solution

upbeat apexBOT
#
โœ… Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer

[Click here](#1238965874677780561 message)

errant pewter
#

I am just really impresed no one has done guide on stripe for next.js (app router). Youtube is full of everything person would guess there would be shit ton of that content

#

But guess not

magic sigil
#

You can find many videos about nextjs and stripe when searching for something like "ecommerce full stack project stripe nextjs" or something similar to that. Happy to help ๐Ÿ™‚

errant pewter
#

Will do that!!! Thank you sir!

median ivy
# errant pewter Will do that!!! Thank you sir!

Please do not delete your original questions unless they contained secrets that you should have never posted in the first place. Deleting the question makes the answer out of context and only confuses readers.

errant pewter
#

I though it just deleted the thing on help forum sidebar as I have many of this opened and its anoying to watch sorry about that didn't really read what this does when I was pressing.