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

  Рет қаралды 46,721

Sonny Sangha

Sonny Sangha

Күн бұрын

Пікірлер: 99
@povilaskirna4108
@povilaskirna4108 Ай бұрын
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.
@DigitalAlchemyst
@DigitalAlchemyst 4 ай бұрын
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.
@gynflo
@gynflo 5 ай бұрын
Your explanations are super clear and concise. Thanks Sonny
@kimhwanhoon
@kimhwanhoon Күн бұрын
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
@rudya.hernandez7238
@rudya.hernandez7238 Ай бұрын
Thanks for this. Also had to 'Turn On' Google Pay payment method on Stripe dashboard.
@semsomify
@semsomify 2 ай бұрын
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.
@christianhammervig438
@christianhammervig438 8 күн бұрын
Thank you, even tho you used typescript it was easy to convert to more useable code, javascript, and still get it working 👍
@mileslegend
@mileslegend 5 ай бұрын
my guy comes out with another banger ,, thanks man for not allowing us get dormant.....
@JeremyMoritz1
@JeremyMoritz1 4 ай бұрын
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.
@developmentwithtariq
@developmentwithtariq 4 ай бұрын
Thank you for your great contribution in my life as a developer
@LbovboE
@LbovboE 2 ай бұрын
what about webhook? do we need that? it doesn't seem secure.
@olawunitemitope2738
@olawunitemitope2738 5 ай бұрын
Please do full tutorial on testing... Like jest testing
@rushikeshgandhmal
@rushikeshgandhmal 3 ай бұрын
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.
@shawn.builds
@shawn.builds 3 ай бұрын
Wow that was FAST! Thanks Sonny
@bodywithoutasoul
@bodywithoutasoul 5 ай бұрын
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?
@MD.RIAJULISLAM-o9p
@MD.RIAJULISLAM-o9p 5 ай бұрын
Thanks a llot. love from Bangladesh. I have been waiting for such a video.
@jhmesseroux
@jhmesseroux 14 күн бұрын
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 ?
@emmanuelomonzebaguan726
@emmanuelomonzebaguan726 18 күн бұрын
Thank you for this great resource
@aimagicx
@aimagicx 5 ай бұрын
Thanks Sonny, Can you please do a video for Lemon Squeezy payment gateway?
@egretfx
@egretfx 5 ай бұрын
yes please:)
@Imbalancement
@Imbalancement 17 күн бұрын
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.
@mohamedanouarjabri271
@mohamedanouarjabri271 3 ай бұрын
Hello , I can't see the payment tab in the stripe website
@_A1Anime
@_A1Anime 5 ай бұрын
How did you learn all these technologies?
@nemeziz_prime
@nemeziz_prime 5 ай бұрын
By doing and not over thinking
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 4 ай бұрын
By doing it one code at a time
@BilalAhmad-is7bz
@BilalAhmad-is7bz 2 ай бұрын
😂😂
@urtechvibe
@urtechvibe Ай бұрын
awesome sonny thanks
@urtechvibe
@urtechvibe Ай бұрын
awesome tutorial thanks
@alexsantosdev
@alexsantosdev 4 ай бұрын
Thanks bro, excellent content!
@sadique_x_
@sadique_x_ 5 ай бұрын
thanks sonny!, thank you so much i'm a big fan
@ValentineHunter
@ValentineHunter 5 ай бұрын
This is great. Please make a similar video on LemonSqueezy
@SonnySangha
@SonnySangha 4 ай бұрын
On it
@setupfile-f6v
@setupfile-f6v 4 ай бұрын
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
@brunowego
@brunowego 3 ай бұрын
Thank you for this amazing video :)
@bespokeprogramming
@bespokeprogramming 4 ай бұрын
Sonny! You are a Legend!
@SonnySangha
@SonnySangha 4 ай бұрын
Appreciate you!!
@ashishsubedi1400
@ashishsubedi1400 4 ай бұрын
can you do paddle integration with next js?
@vukosavljevich4541
@vukosavljevich4541 3 ай бұрын
Helped me thank you!
@shreyanshsinghal5457
@shreyanshsinghal5457 4 ай бұрын
Thanks for awesome tutorial
@egretfx
@egretfx 5 ай бұрын
what about LemonSqueezy? some countries dont have stripe support.
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 4 ай бұрын
There is a bypass
@egretfx
@egretfx 4 ай бұрын
@@KATHLEENWoods-gz8rd care to explain?
@skhomo
@skhomo 5 ай бұрын
Can you please do PayPal as well, Stripe doesn't work on most countries
@it32_harsh_ninave49
@it32_harsh_ninave49 5 ай бұрын
MERN project from scratch!❤️
@tmuse333
@tmuse333 4 ай бұрын
useful video I appreciate it dude
@SonnySangha
@SonnySangha 4 ай бұрын
You’re welcome dude!!
@adomicarts
@adomicarts 4 ай бұрын
Thanks sonnyyyy!!!!
@shibashishmohapatra
@shibashishmohapatra 4 ай бұрын
How u registered the domain in stripe dashboard
@graphiclife5416
@graphiclife5416 5 ай бұрын
You can easily hack the price on the front end
@SonnySangha
@SonnySangha 5 ай бұрын
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!
@vatsalcodes
@vatsalcodes 4 ай бұрын
Can we use paypal along with google pay? if yes then how?
@parrou3
@parrou3 4 ай бұрын
Hi, is next.js a must learn for 2024-2025 ?
@SonnySangha
@SonnySangha 4 ай бұрын
Yes 100%
@ferhatsunaycansev106
@ferhatsunaycansev106 18 күн бұрын
thanks
@dominikjojczyk
@dominikjojczyk 3 ай бұрын
how can i prepare a invoice with code, pleaes help me asap
@LeMusulmanSceptique
@LeMusulmanSceptique 2 ай бұрын
ty brother
@WajahatIslamGul
@WajahatIslamGul 23 күн бұрын
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?
@SedricWinningham
@SedricWinningham 10 күн бұрын
@itsmkb1213
@itsmkb1213 3 ай бұрын
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
@desh_dev
@desh_dev 4 ай бұрын
how to add email address and phone number custom field
@AbdelmadjidLablack
@AbdelmadjidLablack 3 ай бұрын
I'm having the same issue, were you able to find how to do it ?
@desh_dev
@desh_dev 3 ай бұрын
@@AbdelmadjidLablack no I couldn't figure it out natively. What I did was collect info before redirecting to that screen and storing it globablly
@MD.RIAJULISLAM-o9p
@MD.RIAJULISLAM-o9p 4 ай бұрын
When I am trying to pay the bill it is showing me "No such payment_intent", how can I solve this problem?
@savindugunasekara-xh3zx
@savindugunasekara-xh3zx 4 ай бұрын
Hey my payment element somtimes shows and sometimes doesnt load at all.. why is that happening
@abhishekjr4448
@abhishekjr4448 2 ай бұрын
Sucks that stripe services are not available in India
@AbdelmadjidLablack
@AbdelmadjidLablack 3 ай бұрын
How to add customer email and name
@keristang7208
@keristang7208 4 ай бұрын
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 3 ай бұрын
Mine creats 3. 2 incomplete and 1 success. Did you manage to solve it?
@keristang7208
@keristang7208 3 ай бұрын
@@itsmkb1213 im not manage to solve it. is that normal? hope sonny can explain that to us.
@itsmkb1213
@itsmkb1213 3 ай бұрын
@@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 3 ай бұрын
@@keristang7208 @SonnySangha can you please reach to us!!!
@itsmkb1213
@itsmkb1213 3 ай бұрын
@SonnySangha both of us have same kinda issue
@danimusbar
@danimusbar 5 ай бұрын
Please make another tutorial but using Paypal
@NSKisHERE
@NSKisHERE 4 ай бұрын
at 12:35 , i cant see your form in my site :/ is it changed in 1 week??
@NSKisHERE
@NSKisHERE 4 ай бұрын
i think changed in 1 week...
@AllahomAnsorGaza
@AllahomAnsorGaza 4 ай бұрын
anyone know what is his headphone name please :D
@SonnySangha
@SonnySangha 4 ай бұрын
Audiotechniqa! In my desk setup tour I show all
@MrPherez
@MrPherez 5 ай бұрын
Intergrate M-Pesa payment
@bilet.airgang
@bilet.airgang Ай бұрын
Niceee brow
@Vasu-f2m
@Vasu-f2m 3 ай бұрын
is this nextjs front-end or full-stack integration with Stripe ?
@Mario_coding
@Mario_coding 2 ай бұрын
full-stack as you have a frontend and (database and payment integrated) backend.
@hamza_Techy
@hamza_Techy 5 ай бұрын
Great!
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 4 ай бұрын
2024-2026. How important it is to learn next.js and react
@SonnySangha
@SonnySangha 4 ай бұрын
Extremely important. Trust me - market is huge
@animeheadquarters8005
@animeheadquarters8005 18 күн бұрын
I lovvvvvve you, but im not gay
@EmmanDizon-x7o
@EmmanDizon-x7o 21 күн бұрын
no apple pay, lol
@sujayxaradhya
@sujayxaradhya 2 ай бұрын
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.😢
@tomding2789
@tomding2789 Ай бұрын
Fantastic
@mohamedanouarjabri271
@mohamedanouarjabri271 4 ай бұрын
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 🤷
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,4 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 30 МЛН
Coding a FULL App with AI (You Won't Believe This)
15:19
Creator Magic
Рет қаралды 198 М.
How To Accept Payments With Stripe
23:05
Web Dev Simplified
Рет қаралды 282 М.
Stripe Checkout Node.js Backend - Stripe for developers
21:34
Lets Write Code
Рет қаралды 210
Why did OpenAI move from Next.js to Remix?
10:41
Wes Bos
Рет қаралды 188 М.
Build better payment forms using new “embedded” Stripe Checkout
6:04
The EASY way to set recurring payments (Stripe subscriptions)
16:57
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 256 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24