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

  Рет қаралды 55,863

Sonny Sangha

Sonny Sangha

Күн бұрын

Пікірлер: 105
@povilaskirna4108
@povilaskirna4108 3 ай бұрын
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.
@mileslegend
@mileslegend 6 ай бұрын
my guy comes out with another banger ,, thanks man for not allowing us get dormant.....
@gynflo
@gynflo 6 ай бұрын
Your explanations are super clear and concise. Thanks Sonny
@semsomify
@semsomify 3 ай бұрын
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.
@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
@JeremyMoritz1
@JeremyMoritz1 5 ай бұрын
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.
@LbovboE
@LbovboE 3 ай бұрын
what about webhook? do we need that? it doesn't seem secure.
@pk5388
@pk5388 Ай бұрын
thank you for great video bro! big fans from thailand. XD
@MD.RIAJULISLAM-o9p
@MD.RIAJULISLAM-o9p 6 ай бұрын
Thanks a llot. love from Bangladesh. I have been waiting for such a video.
@rushikeshgandhmal
@rushikeshgandhmal 4 ай бұрын
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.
@christianhammervig438
@christianhammervig438 Ай бұрын
Thank you, even tho you used typescript it was easy to convert to more useable code, javascript, and still get it working 👍
@rudya.hernandez7238
@rudya.hernandez7238 2 ай бұрын
Thanks for this. Also had to 'Turn On' Google Pay payment method on Stripe dashboard.
@shawn.builds
@shawn.builds 5 ай бұрын
Wow that was FAST! Thanks Sonny
@developmentwithtariq
@developmentwithtariq 5 ай бұрын
Thank you for your great contribution in my life as a developer
@DigitalAlchemyst
@DigitalAlchemyst 5 ай бұрын
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.
@mohamedanouarjabri271
@mohamedanouarjabri271 5 ай бұрын
Hello , I can't see the payment tab in the stripe website
@jhmesseroux
@jhmesseroux Ай бұрын
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 ?
@bespokeprogramming
@bespokeprogramming 6 ай бұрын
Sonny! You are a Legend!
@SonnySangha
@SonnySangha 6 ай бұрын
Appreciate you!!
@emmanuelomonzebaguan726
@emmanuelomonzebaguan726 Ай бұрын
Thank you for this great resource
@sadique_x_
@sadique_x_ 6 ай бұрын
thanks sonny!, thank you so much i'm a big fan
@WajahatIslamGul
@WajahatIslamGul 2 ай бұрын
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?
@Imbalancement
@Imbalancement Ай бұрын
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.
@brunowego
@brunowego 4 ай бұрын
Thank you for this amazing video :)
@alexsantosdev
@alexsantosdev 5 ай бұрын
Thanks bro, excellent content!
@bodywithoutasoul
@bodywithoutasoul 6 ай бұрын
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?
@_A1Anime
@_A1Anime 6 ай бұрын
How did you learn all these technologies?
@nemeziz_prime
@nemeziz_prime 6 ай бұрын
By doing and not over thinking
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 6 ай бұрын
By doing it one code at a time
@BilalAhmad-is7bz
@BilalAhmad-is7bz 3 ай бұрын
😂😂
@dirudeen1421
@dirudeen1421 6 күн бұрын
By reading the documentation
@itsmkb1213
@itsmkb1213 5 ай бұрын
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
@olawunitemitope2738
@olawunitemitope2738 6 ай бұрын
Please do full tutorial on testing... Like jest testing
@MD.RIAJULISLAM-o9p
@MD.RIAJULISLAM-o9p 5 ай бұрын
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 5 ай бұрын
Hey my payment element somtimes shows and sometimes doesnt load at all.. why is that happening
@setupfile-f6v
@setupfile-f6v 5 ай бұрын
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
@shibashishmohapatra
@shibashishmohapatra 5 ай бұрын
How u registered the domain in stripe dashboard
@urtechvibe
@urtechvibe 2 ай бұрын
awesome tutorial thanks
@urtechvibe
@urtechvibe 2 ай бұрын
awesome sonny thanks
@vukosavljevich4541
@vukosavljevich4541 5 ай бұрын
Helped me thank you!
@ashishsubedi1400
@ashishsubedi1400 6 ай бұрын
can you do paddle integration with next js?
@shreyanshsinghal5457
@shreyanshsinghal5457 6 ай бұрын
Thanks for awesome tutorial
@aimagicx
@aimagicx 6 ай бұрын
Thanks Sonny, Can you please do a video for Lemon Squeezy payment gateway?
@egretfx
@egretfx 6 ай бұрын
yes please:)
@egretfx
@egretfx 6 ай бұрын
what about LemonSqueezy? some countries dont have stripe support.
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 6 ай бұрын
There is a bypass
@egretfx
@egretfx 6 ай бұрын
@@KATHLEENWoods-gz8rd care to explain?
@dominikjojczyk
@dominikjojczyk 4 ай бұрын
how can i prepare a invoice with code, pleaes help me asap
@tmuse333
@tmuse333 5 ай бұрын
useful video I appreciate it dude
@SonnySangha
@SonnySangha 5 ай бұрын
You’re welcome dude!!
@skhomo
@skhomo 6 ай бұрын
Can you please do PayPal as well, Stripe doesn't work on most countries
@vatsalcodes
@vatsalcodes 6 ай бұрын
Can we use paypal along with google pay? if yes then how?
@NSKisHERE
@NSKisHERE 6 ай бұрын
at 12:35 , i cant see your form in my site :/ is it changed in 1 week??
@NSKisHERE
@NSKisHERE 6 ай бұрын
i think changed in 1 week...
@desh_dev
@desh_dev 6 ай бұрын
how to add email address and phone number custom field
@AbdelmadjidLablack
@AbdelmadjidLablack 4 ай бұрын
I'm having the same issue, were you able to find how to do it ?
@desh_dev
@desh_dev 4 ай бұрын
@@AbdelmadjidLablack no I couldn't figure it out natively. What I did was collect info before redirecting to that screen and storing it globablly
@keristang7208
@keristang7208 6 ай бұрын
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 5 ай бұрын
Mine creats 3. 2 incomplete and 1 success. Did you manage to solve it?
@keristang7208
@keristang7208 5 ай бұрын
@@itsmkb1213 im not manage to solve it. is that normal? hope sonny can explain that to us.
@itsmkb1213
@itsmkb1213 5 ай бұрын
@@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 5 ай бұрын
@@keristang7208 @SonnySangha can you please reach to us!!!
@itsmkb1213
@itsmkb1213 5 ай бұрын
@SonnySangha both of us have same kinda issue
@adomicarts
@adomicarts 5 ай бұрын
Thanks sonnyyyy!!!!
@ValentineHunter
@ValentineHunter 6 ай бұрын
This is great. Please make a similar video on LemonSqueezy
@SonnySangha
@SonnySangha 6 ай бұрын
On it
@AbdelmadjidLablack
@AbdelmadjidLablack 4 ай бұрын
How to add customer email and name
@abhishekjr4448
@abhishekjr4448 3 ай бұрын
Sucks that stripe services are not available in India
@barak_kaldess
@barak_kaldess 2 күн бұрын
7:18 hit Michael Jason?
@graphiclife5416
@graphiclife5416 6 ай бұрын
You can easily hack the price on the front end
@SonnySangha
@SonnySangha 6 ай бұрын
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!
@LeMusulmanSceptique
@LeMusulmanSceptique 3 ай бұрын
ty brother
@AllahomAnsorGaza
@AllahomAnsorGaza 6 ай бұрын
anyone know what is his headphone name please :D
@SonnySangha
@SonnySangha 6 ай бұрын
Audiotechniqa! In my desk setup tour I show all
@ferhatsunaycansev106
@ferhatsunaycansev106 Ай бұрын
thanks
@SameerKad-r8v
@SameerKad-r8v Ай бұрын
Stripe not working in india 😑 any alternative?
@yeagerer
@yeagerer 9 күн бұрын
Move to Europe
@parrou3
@parrou3 6 ай бұрын
Hi, is next.js a must learn for 2024-2025 ?
@SonnySangha
@SonnySangha 6 ай бұрын
Yes 100%
@it32_harsh_ninave49
@it32_harsh_ninave49 6 ай бұрын
MERN project from scratch!❤️
@hamza_Techy
@hamza_Techy 6 ай бұрын
Great!
@Vasu-f2m
@Vasu-f2m 4 ай бұрын
is this nextjs front-end or full-stack integration with Stripe ?
@Mario_coding
@Mario_coding 3 ай бұрын
full-stack as you have a frontend and (database and payment integrated) backend.
@menikmati90
@menikmati90 15 күн бұрын
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
@danimusbar
@danimusbar 6 ай бұрын
Please make another tutorial but using Paypal
@bilet.airgang
@bilet.airgang 2 ай бұрын
Niceee brow
@SedricWinningham
@SedricWinningham Ай бұрын
@MrPherez
@MrPherez 6 ай бұрын
Intergrate M-Pesa payment
@KATHLEENWoods-gz8rd
@KATHLEENWoods-gz8rd 6 ай бұрын
2024-2026. How important it is to learn next.js and react
@SonnySangha
@SonnySangha 6 ай бұрын
Extremely important. Trust me - market is huge
@EmmanDizon-x7o
@EmmanDizon-x7o 2 ай бұрын
no apple pay, lol
@animeheadquarters8005
@animeheadquarters8005 Ай бұрын
I lovvvvvve you, but im not gay
@sujayxaradhya
@sujayxaradhya 3 ай бұрын
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.😢
@mohamedanouarjabri271
@mohamedanouarjabri271 5 ай бұрын
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 3 ай бұрын
Fantastic
How To Accept Payments With Stripe
23:05
Web Dev Simplified
Рет қаралды 286 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Build better payment forms using new “embedded” Stripe Checkout
6:04
The EASY way to set recurring payments (Stripe subscriptions)
16:57
React Stripe.js and the Payment Element
15:18
Stripe Developers
Рет қаралды 89 М.
How To Setup Stripe Payments in NextJS 14 Tutorial
19:10
Ras Mic
Рет қаралды 16 М.
🚨🚨 PROGRAMMING JS AND GO AS FAST AS I CAN 🚨🚨
ThePrimeTime
Рет қаралды 1,2 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН