How to add Stripe payments to ANY Next.js 14 App! (Easy Tutorial for Beginners)

  Рет қаралды 64,862

Sonny Sangha

Sonny Sangha

Күн бұрын

Пікірлер: 118
@benjamindave4821
@benjamindave4821 7 күн бұрын
I haven't tried this tutorial yet, but i just want to take some time to express my appreciation for how clear and straight forward your teaching is. Thank you so muc
@SonnySangha
@SonnySangha 7 күн бұрын
Thank you so much!!
@kipkemoi_philipe
@kipkemoi_philipe 5 күн бұрын
I realize that I need this guy and a very strong internet connection.. Clear steps 💯💯💯💯
@povilaskirna4108
@povilaskirna4108 4 ай бұрын
Damn you are such a goat, I stopped the video when you started talking about LCLhost and went and started reserching why not use NGROK because that's what I was familiar with. The moment I come back to the video and continue playing it I see you talk about NGROK vs LCLhost. Thanks a lot for another great tutorial I was kinda weirded out by the new Elements components since I come from the days when everything was handled on the stripe side, seems like they created an amazing component so now I can make fully customized checkout pages easily.
@gynflo
@gynflo 7 ай бұрын
Your explanations are super clear and concise. Thanks Sonny
@JeremyMoritz1
@JeremyMoritz1 6 ай бұрын
Marvelous tutorial! Followed along and my app worked perfectly on the first try. Thank you for doing this and with such attention to detail! Subscribed.
@mileslegend
@mileslegend 7 ай бұрын
my guy comes out with another banger ,, thanks man for not allowing us get dormant.....
@semsomify
@semsomify 4 ай бұрын
Thank you so much Sonny. Super clear! I watched several tutorials on this and yours is the most comprehensive and update to date! Like and Subscribe.
@rawux
@rawux 6 күн бұрын
Thanks so much!!! I spent a month seeking help and your walkthrough was the only thing that put everything into perspective and was easy to understand. Question do you have an update for React 19 and Is there a follow up for subscriptions, using products created in stripe dynamically and ensuring users can not have access unless their payment or paid status is confirmed? I know I am asking a lot so any point in the right direction would be greatly appreciated. I liked subscribed and will be checking out more of your vids!
@kimhwanhoon
@kimhwanhoon 2 ай бұрын
Wow I love you bro you explained so easily so easy to understand. I don’t usually do that but I did subscribe and like the video
@rushikeshgandhmal
@rushikeshgandhmal 5 ай бұрын
Sonny you are awesome teacher. You made it so simple, I'm using this tutorial to integrate stripe in real world project now. Thanks a ton. Keep up the high quality work.
@rudya.hernandez7238
@rudya.hernandez7238 3 ай бұрын
Thanks for this. Also had to 'Turn On' Google Pay payment method on Stripe dashboard.
@LbovboE
@LbovboE 4 ай бұрын
what about webhook? do we need that? it doesn't seem secure.
@nicosilva9022
@nicosilva9022 5 күн бұрын
Thank you so much this help me alot ♥
@christianhammervig438
@christianhammervig438 2 ай бұрын
Thank you, even tho you used typescript it was easy to convert to more useable code, javascript, and still get it working 👍
@DigitalAlchemyst
@DigitalAlchemyst 7 ай бұрын
A follow up on how to enter stripe data into a data base, pay out tenant users of the app isolate money to user accounts and things of that nature would be great. basically covering deeper in how to use this beyond just grabbing money for sale of something and getting it to you from your strip account.
@pk5388
@pk5388 2 ай бұрын
thank you for great video bro! big fans from thailand. XD
@MD.RIAJULISLAM-o9p
@MD.RIAJULISLAM-o9p 7 ай бұрын
Thanks a llot. love from Bangladesh. I have been waiting for such a video.
@shawn.builds
@shawn.builds 6 ай бұрын
Wow that was FAST! Thanks Sonny
@AlexanderGospel-b6r
@AlexanderGospel-b6r 21 күн бұрын
Super clear boss, but what i don't understand in where to install the winget install anchor, is it on my device or terminal
@developmentwithtariq
@developmentwithtariq 6 ай бұрын
Thank you for your great contribution in my life as a developer
@TheWoWganker
@TheWoWganker 26 күн бұрын
Thank you, brother!
@olawunitemitope2738
@olawunitemitope2738 7 ай бұрын
Please do full tutorial on testing... Like jest testing
@bodywithoutasoul
@bodywithoutasoul 7 ай бұрын
Thank you for this Sonny, very useful! May I ask why you decided to deviate from the stripe docs and fetch the client secret in the checkout component as opposed to the page, as they show it?
@emmanuelomonzebaguan726
@emmanuelomonzebaguan726 3 ай бұрын
Thank you for this great resource
@brunowego
@brunowego 5 ай бұрын
Thank you for this amazing video :)
@sadique_x_
@sadique_x_ 7 ай бұрын
thanks sonny!, thank you so much i'm a big fan
@bespokeprogramming
@bespokeprogramming 7 ай бұрын
Sonny! You are a Legend!
@SonnySangha
@SonnySangha 7 ай бұрын
Appreciate you!!
@alexsantosdev
@alexsantosdev 6 ай бұрын
Thanks bro, excellent content!
@aimagicx
@aimagicx 7 ай бұрын
Thanks Sonny, Can you please do a video for Lemon Squeezy payment gateway?
@egretfx
@egretfx 7 ай бұрын
yes please:)
@urtechvibe
@urtechvibe 3 ай бұрын
awesome tutorial thanks
@shreyanshsinghal5457
@shreyanshsinghal5457 7 ай бұрын
Thanks for awesome tutorial
@mohamedanouarjabri271
@mohamedanouarjabri271 6 ай бұрын
Hello , I can't see the payment tab in the stripe website
@Imbalancement
@Imbalancement 3 ай бұрын
Thanks so much for the video! Very helpful. One question though: Why would I be getting a 500 internal server error within the route.ts while in production? In development this error does not occur.
@vukosavljevich4541
@vukosavljevich4541 6 ай бұрын
Helped me thank you!
@urtechvibe
@urtechvibe 3 ай бұрын
awesome sonny thanks
@jhmesseroux
@jhmesseroux 3 ай бұрын
Great tutorial. But i have an issue using the subscription mode . That's my error message : The provided setup_future_usage (on_session) does not match the expected setup_future_usage (off_session). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements. How can i solve it ?
@tmuse333
@tmuse333 7 ай бұрын
useful video I appreciate it dude
@SonnySangha
@SonnySangha 7 ай бұрын
You’re welcome dude!!
@_A1Anime
@_A1Anime 7 ай бұрын
How did you learn all these technologies?
@nemeziz_prime
@nemeziz_prime 7 ай бұрын
By doing and not over thinking
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 7 ай бұрын
By doing it one code at a time
@BilalAhmad-is7bz
@BilalAhmad-is7bz 4 ай бұрын
😂😂
@dirudeen1421
@dirudeen1421 Ай бұрын
By reading the documentation
@adomicarts
@adomicarts 6 ай бұрын
Thanks sonnyyyy!!!!
@ValentineHunter
@ValentineHunter 7 ай бұрын
This is great. Please make a similar video on LemonSqueezy
@SonnySangha
@SonnySangha 7 ай бұрын
On it
@ashishsubedi1400
@ashishsubedi1400 7 ай бұрын
can you do paddle integration with next js?
@WajahatIslamGul
@WajahatIslamGul 3 ай бұрын
To Enable Apple pay we have to register the domain on stripe dashboard. But when I give the url created by anchor, stripe says it is invalid url. So it doesn't really serve the purpose. Or am I missing something?
@setupfile-f6v
@setupfile-f6v 6 ай бұрын
Thank you a lot for this video! But i'm actually trynna add apple and google pay and cashpp it doesn't work for cash app
@AlexanderGospel-b6r
@AlexanderGospel-b6r 21 күн бұрын
you should have shown the installation procedure
@AlexanderGospel-b6r
@AlexanderGospel-b6r 21 күн бұрын
the video was greate but that installation process is really frustrating 😤, i don't even know what to do now
@shibashishmohapatra
@shibashishmohapatra 6 ай бұрын
How u registered the domain in stripe dashboard
@vatsalcodes
@vatsalcodes 7 ай бұрын
Can we use paypal along with google pay? if yes then how?
@skhomo
@skhomo 7 ай бұрын
Can you please do PayPal as well, Stripe doesn't work on most countries
@savindugunasekara-xh3zx
@savindugunasekara-xh3zx 6 ай бұрын
Hey my payment element somtimes shows and sometimes doesnt load at all.. why is that happening
@dominikjojczyk
@dominikjojczyk 5 ай бұрын
how can i prepare a invoice with code, pleaes help me asap
@egretfx
@egretfx 7 ай бұрын
what about LemonSqueezy? some countries dont have stripe support.
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 7 ай бұрын
There is a bypass
@egretfx
@egretfx 7 ай бұрын
@@KATHLEENWoods-gz8rd care to explain?
@MD.RIAJULISLAM-o9p
@MD.RIAJULISLAM-o9p 7 ай бұрын
When I am trying to pay the bill it is showing me "No such payment_intent", how can I solve this problem?
@abhishekjr4448
@abhishekjr4448 4 ай бұрын
Sucks that stripe services are not available in India
@AbdelmadjidLablack
@AbdelmadjidLablack 5 ай бұрын
How to add customer email and name
@LeMusulmanSceptique
@LeMusulmanSceptique 4 ай бұрын
ty brother
@NSKisHERE
@NSKisHERE 7 ай бұрын
at 12:35 , i cant see your form in my site :/ is it changed in 1 week??
@NSKisHERE
@NSKisHERE 7 ай бұрын
i think changed in 1 week...
@Vortex_Nico2d
@Vortex_Nico2d 28 күн бұрын
Did you manage to solve this issue? Because I have an identical one
@sjoerdvisser
@sjoerdvisser 7 сағат бұрын
@@Vortex_Nico2d Does it work when you remove clientSecret from the form?
@keristang7208
@keristang7208 7 ай бұрын
hi sonny, i have successfully following your code , and it works. but somehow my code create 2 transaction everytime i checkout. one transaction show succeeded and another show incomplete. do i implement correctly or this is normal.
@itsmkb1213
@itsmkb1213 6 ай бұрын
Mine creats 3. 2 incomplete and 1 success. Did you manage to solve it?
@keristang7208
@keristang7208 6 ай бұрын
@@itsmkb1213 im not manage to solve it. is that normal? hope sonny can explain that to us.
@itsmkb1213
@itsmkb1213 6 ай бұрын
@@keristang7208 I see. Can you kindly update me if you manage to figure it out. I will update you if I could solve it
@itsmkb1213
@itsmkb1213 6 ай бұрын
@@keristang7208 @SonnySangha can you please reach to us!!!
@itsmkb1213
@itsmkb1213 6 ай бұрын
@SonnySangha both of us have same kinda issue
@it32_harsh_ninave49
@it32_harsh_ninave49 7 ай бұрын
MERN project from scratch!❤️
@graphiclife5416
@graphiclife5416 7 ай бұрын
You can easily hack the price on the front end
@SonnySangha
@SonnySangha 7 ай бұрын
Typically pricing comes from the backend, this is just a simple demo where we use a variable on the front end for the price😄 But yes nice point - fetch the amounts from the backend typically!
@desh_dev
@desh_dev 7 ай бұрын
how to add email address and phone number custom field
@AbdelmadjidLablack
@AbdelmadjidLablack 5 ай бұрын
I'm having the same issue, were you able to find how to do it ?
@desh_dev
@desh_dev 5 ай бұрын
@@AbdelmadjidLablack no I couldn't figure it out natively. What I did was collect info before redirecting to that screen and storing it globablly
@ferhatsunaycansev106
@ferhatsunaycansev106 3 ай бұрын
thanks
@SameerKad-r8v
@SameerKad-r8v 2 ай бұрын
Stripe not working in india 😑 any alternative?
@yeagerer
@yeagerer Ай бұрын
Move to Europe
@itsmkb1213
@itsmkb1213 6 ай бұрын
Hi when I try to make payments I get three entries in my stripe dashboard. One completed and two incomplete any idea how to solve it
@daksosodakxx1477
@daksosodakxx1477 Ай бұрын
Hey did you find out ?
@itsmkb1213
@itsmkb1213 Ай бұрын
@daksosodakxx1477 it was because of the use of useEffect hook and it something that react does during development environment. So not an issue
@parrou3
@parrou3 7 ай бұрын
Hi, is next.js a must learn for 2024-2025 ?
@SonnySangha
@SonnySangha 7 ай бұрын
Yes 100%
@barak_kaldess
@barak_kaldess Ай бұрын
7:18 hit Michael Jason?
@AllahomAnsorGaza
@AllahomAnsorGaza 7 ай бұрын
anyone know what is his headphone name please :D
@SonnySangha
@SonnySangha 7 ай бұрын
Audiotechniqa! In my desk setup tour I show all
@Vasu-f2m
@Vasu-f2m 6 ай бұрын
is this nextjs front-end or full-stack integration with Stripe ?
@Mario_coding
@Mario_coding 4 ай бұрын
full-stack as you have a frontend and (database and payment integrated) backend.
@danimusbar
@danimusbar 7 ай бұрын
Please make another tutorial but using Paypal
@menikmati90
@menikmati90 Ай бұрын
I kept getting 400 and 402 errors and tried everything and realized you need to be in Stripe test mode and use the test mode keys ... whoops
@SedricWinningham
@SedricWinningham 2 ай бұрын
@bilet.airgang
@bilet.airgang 3 ай бұрын
Niceee brow
@MrPherez
@MrPherez 7 ай бұрын
Intergrate M-Pesa payment
@hamza_Techy
@hamza_Techy 7 ай бұрын
Great!
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 7 ай бұрын
2024-2026. How important it is to learn next.js and react
@SonnySangha
@SonnySangha 7 ай бұрын
Extremely important. Trust me - market is huge
@EmmanDizon-x7o
@EmmanDizon-x7o 3 ай бұрын
no apple pay, lol
@sujayxaradhya
@sujayxaradhya 5 ай бұрын
Why everybody or very second grade developer is creating video only using Stripe? Does Stripe pay you? And if not then please look into small businesses, startups, or individuals who are facing problems like getting blocked with existing multi-thousands of dollars in the account with no legit reason by the worst Stripe. Why you guys don't make video on any other payment gateway integration? I understand that Stripe has best docs experience but this is not the legit reason to not make video on using any other payment gateway. Please do favour and help those business, startups that are getting shutdown only because of Stripe. This is really sad.😢
@animeheadquarters8005
@animeheadquarters8005 3 ай бұрын
I lovvvvvve you, but im not gay
@mohamedanouarjabri271
@mohamedanouarjabri271 6 ай бұрын
I've tried it with react js but when creating the env.local file and trying to use the env variable it keeps showing an error saying that the Stripe() should take an apiKey with string type and I'am sure thet the process.env.Key is a string 🤷
@tomding2789
@tomding2789 4 ай бұрын
Fantastic
React Stripe.js and the Payment Element
15:18
Stripe Developers
Рет қаралды 91 М.
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Incident Analysis Agent - Kingston J
3:36
Kingston Joseph
Рет қаралды 26
Build better payment forms using new “embedded” Stripe Checkout
6:04
How To Accept Payments With Stripe
23:05
Web Dev Simplified
Рет қаралды 289 М.
The EASY way to set recurring payments (Stripe subscriptions)
16:57
How To Build A $10,000 Website In 30 Minutes (AI + No Code)
19:07
Christian Peverelli - WeAreNoCode
Рет қаралды 527 М.
How To Setup Stripe Payments in NextJS 14 Tutorial
19:10
Ras Mic
Рет қаралды 17 М.
Master Next JS in easy way
19:11
Nova Designs
Рет қаралды 10 М.
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН