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

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 99

  • @povilaskirna4108
    @povilaskirna4108 Месяц назад +2

    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 месяцев назад +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 месяца назад +1

    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 месяцев назад +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 месяца назад +4

    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 месяцев назад +1

    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 месяца назад +1

    Hello , I can't see the payment tab in the stripe website

  • @_A1Anime
    @_A1Anime 5 месяцев назад +10

    How did you learn all these technologies?

  • @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

  • @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!

  • @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 месяцев назад +1

    what about LemonSqueezy? some countries dont have stripe support.

  • @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

  • @adomicarts
    @adomicarts 4 месяца назад

    Thanks sonnyyyy!!!!

  • @shibashishmohapatra
    @shibashishmohapatra 4 месяца назад

    How u registered the domain in stripe dashboard

  • @graphiclife5416
    @graphiclife5416 5 месяцев назад +1

    You can easily hack the price on the front end

    • @SonnySangha
      @SonnySangha  5 месяцев назад +1

      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 ?

  • @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 22 дня назад

    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 месяца назад +1

    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 месяца назад +1

    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 месяца назад +1

      @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 месяца назад +1

      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 🤷