How to integrate Stripe Payment in React and Node.js (Step by Step)!

Поделиться
HTML-код
  • Опубликовано: 20 ноя 2023
  • In this video we will see how to integrate stripe payment gateway in React.js and Node.js
    💖Be A Patron(Support On Monthly Basis)-
    ☑ / codewithmasood
    🎁Get Source Code & Other Perks!
    👋Connect With Me:
    ▶Facebook - / official.codewithmasood
    ▶Instagram - / codewithmasood.official
    ▶Blog - / codewithmasood
    ▶Pinterest - / codewithmasood
    📙Must Read Books That Will Transform Your Thinking-
    ▶Psychology of Money: amzn.to/3jqvhyp
    ▶How to Win Friends and Influence People: amzn.to/3GifLh7
    ▶Power of Habit: amzn.to/3FRszcW
    ▶Ego is the Enemy: amzn.to/3GmZA26
    ▶Cracking the Coding Interview: amzn.to/3C2bYBW
    ▶Introduction to Algorithms: amzn.to/3jzkt1f
    ▶Cryptography and network security: amzn.to/3WQrol3
    #react
    #stripe
    #mernstack
    #codewithmasood
    #programming
    #coding
    DISCLAIMER: Some of the links in the description above are affiliate links, which means that if you click on one of the links and make a purchase, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!

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

  • @IbrahimKhalil-um9co
    @IbrahimKhalil-um9co 2 месяца назад

    Where is the Github code repo??

    • @CodeWithMasood
      @CodeWithMasood  15 дней назад +1

      The code is in patreon brother, shared as the first link in description box below:)

  • @user-wl2cn7uw3u
    @user-wl2cn7uw3u 5 месяцев назад +1

    This video is very helpful for me and everyone who stuck any E Commerce payment section. in this video you can explain strips in a very simple and clear way thanks a lot

  • @daviddixx6737
    @daviddixx6737 6 месяцев назад +3

    Simple and straight to the point. Thank you very much

  • @kelvincarvalhos
    @kelvincarvalhos 6 месяцев назад +1

    Thank you very much, friend! Your video helped me a lot, I was racking my brain all day and your video was spot on in solving my problem. Watching from Brazil.

    • @CodeWithMasood
      @CodeWithMasood  6 месяцев назад +2

      Glad to hear that my friend! Thanks

  • @haileiyesus29
    @haileiyesus29 7 месяцев назад +1

    Thanks very much bro, it's really useful video

  • @keralatv2571
    @keralatv2571 5 месяцев назад

    Really good video brother, you are amazing

  • @zaheeruddin603
    @zaheeruddin603 3 месяца назад

    thank you, it works!

  • @HasnainMalikQF
    @HasnainMalikQF 8 месяцев назад

    Thank you, you saved my day😊

  • @kristijanlazarev
    @kristijanlazarev 4 месяца назад +2

    I tried many, this is the first one that worked wow

  • @sufyanshoaib
    @sufyanshoaib 2 месяца назад +1

    Good work Masood, enjoyed your tutorial. Keep it up.👏

  • @dgdmenezes
    @dgdmenezes 7 месяцев назад +1

    Thank you, you are amazing!

  • @maxkupperberg3204
    @maxkupperberg3204 7 месяцев назад

    This is awesome! I am using this same stack and was struggling at this point, can't wait to give your solution a try.

  • @robinyzewyn7292
    @robinyzewyn7292 3 месяца назад

    When/where do you save it in your database when the payment is succesfull?

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

    Sir I am using real cards in test more . What error message should it show.

  • @ilikethemost
    @ilikethemost 5 месяцев назад

    please tell will it word for subscription model

  • @bennet3819
    @bennet3819 2 месяца назад

    When I import {loadStripe} from '@stripe/stripe-js' my browser console shows the error "refused to apply inline style because it violates the following content security policy directive...". Does anyone know how to fix the issue?

  • @desi-tech-academy
    @desi-tech-academy 7 месяцев назад +2

    I would love to see recurring payments videos too

  • @user-mq8fy8zd3c
    @user-mq8fy8zd3c 7 месяцев назад +1

    how to get checkout transaction details after payment is successful ?

  • @user-ou8pz8pi7e
    @user-ou8pz8pi7e 3 месяца назад

    Is that safe to store secret key in frontend? (env file)

  • @geekyskill4156
    @geekyskill4156 7 месяцев назад

    hello brother please make a video how to desing the product list in strip

  • @gulzarahamed1152
    @gulzarahamed1152 5 месяцев назад +2

    i have a doubt i am creating dummy project of ecommerce website so i want to use test mode only, i don't want user to lose any real time payment using stripe test mode if i deploy the stripe of test mode will it work for my dummy project? let me know quickly

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

    helpfull

  • @seroyjosielmarkm.2736
    @seroyjosielmarkm.2736 3 месяца назад

    Does it works in Philippines?

  • @zaighamabbas8739
    @zaighamabbas8739 2 месяца назад

    Can i use in Pakistan

  • @cooltv9943
    @cooltv9943 8 месяцев назад +1

    well done

  • @HistoryHouse45
    @HistoryHouse45 7 месяцев назад +1

    waiting for redux course

  • @sajalhsn13
    @sajalhsn13 Месяц назад +1

    How to get the webhook call to save checkout information in local DB?

    • @CodeWithMasood
      @CodeWithMasood  15 дней назад +1

      Search it up on official stripe react and node docs man!

  • @weepees6013
    @weepees6013 4 месяца назад +1

    Unfortunately this video did not clarify anything for me. I still do not know how to integrate stripe into MY own code

  • @pritammagdum24
    @pritammagdum24 5 месяцев назад

    Okay, now I understand why stripe gives error when I choose India Location, Thank You Bro for making this amazing video

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

      Hey! Bro I am also getting error....... How Can I fix it ?

    • @akashsahoo2421
      @akashsahoo2421 3 месяца назад

      it is showing me a error related to indian regulations
      does it not work in india

  • @tiptrcks3960
    @tiptrcks3960 7 месяцев назад

    Bro y btana k jb payment successful hojegi, then is ko db m kis trah store krwaen g? Aur bijae har bar stripe dashbard pr jany k tmam transactions ka data hm apny custom react dashboard pr kesy show krwaein gyy btw thanks for tutorial ❤

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

    Do we get money , i mean do transition happens? after integrating this?...

    • @CodeWithMasood
      @CodeWithMasood  4 месяца назад +1

      Certainly, if stripe is available in your country and if you switch to actual payment details that you need to put in to your stripe account instead of test mode. You will definitely get payments,

  • @TechLead99
    @TechLead99 23 дня назад +1

    So stripe redirects to FE appliction after success. How does server knows about it?

    • @CodeWithMasood
      @CodeWithMasood  15 дней назад +1

      Cuz we are using both FE and backend and it is a full stack application, we are using custom pages for checkout and redirections

    • @TechLead99
      @TechLead99 15 дней назад

      @@CodeWithMasood Ok got it, suppose FE and BE are separate app, then how it will happen, any idea?

  • @kishan_psd
    @kishan_psd 8 месяцев назад +2

    Make a detailed video on Redux.

    • @CodeWithMasood
      @CodeWithMasood  8 месяцев назад +2

      I will create this tutorial soon!

  • @Maryame903
    @Maryame903 8 месяцев назад +7

    Thank you, Are you going to post the source code of the complete site or do a tutorial so that we can reproduce it?

    • @CodeWithMasood
      @CodeWithMasood  7 месяцев назад +3

      Join me on Patreon and I will share the source code with you. You can message me their once you joined!

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

      @@CodeWithMasoodi got an error

    • @merc.5802
      @merc.5802 4 месяца назад

      @@CodeWithMasood laalchi bhikari

    • @hisexcellencykingderp
      @hisexcellencykingderp 3 месяца назад

      @@imvikashkkme too the frontend keeps throwing 500 error.

    • @nanditbro6360
      @nanditbro6360 Месяц назад

      @@CodeWithMasood please give source code i will face problem from three days

  • @websterbisoles417
    @websterbisoles417 5 месяцев назад

    i try to make it what you teach but im getting 401 unauthrorized can explain to me? what happen?

    • @sikusk7422
      @sikusk7422 5 месяцев назад

      same happend with me

    • @websterbisoles417
      @websterbisoles417 5 месяцев назад

      his not interested replying us thats sad@@sikusk7422

  • @RajeshMudi
    @RajeshMudi 2 месяца назад

    can i accept INR if possible please guide ??

  • @akashsahoo2421
    @akashsahoo2421 3 месяца назад

    it is showing me a error related to indian regulations
    does it not work in india

    • @CodeWithMasood
      @CodeWithMasood  3 месяца назад +1

      No it should work cuz stripe is available in india

  • @hisexcellencykingderp
    @hisexcellencykingderp 3 месяца назад +1

    At 6:33 what exactly are you supposed to put in the place of ${apiURL} ? This is not explained

    • @hisexcellencykingderp
      @hisexcellencykingderp 3 месяца назад

      i keep getting 500 error @codewithmasood

    • @CodeWithMasood
      @CodeWithMasood  3 месяца назад +1

      Ok this is the api key for server like, where your server is running put that here,

    • @hisexcellencykingderp
      @hisexcellencykingderp 3 месяца назад

      @@CodeWithMasood So if my backend is localhost5000 am I entering it as /localhost5000/create-checkout-session on the frontend code? And the same for the backend?

    • @hisexcellencykingderp
      @hisexcellencykingderp 3 месяца назад

      @@CodeWithMasood the docs said to put it as /create-checkout-session for both… am i supposed to put it as localhost:5000/create-checkout-session for the frontend if my backend is coming out on port 5000?

  • @Amazing_recipes_serial
    @Amazing_recipes_serial 3 месяца назад

    I am using the content of ur project,can i get copyright issue

    • @CodeWithMasood
      @CodeWithMasood  3 месяца назад +1

      No problem dude, feel free from my side

  • @NoumanKhan-ck7vx
    @NoumanKhan-ck7vx 5 месяцев назад +1

    bhai aoa subscription base b veido banao pls

    • @CodeWithMasood
      @CodeWithMasood  5 месяцев назад

      Will create the subscription version soon!

  • @dj10schannel
    @dj10schannel Месяц назад

    👍

  • @zahirali2275
    @zahirali2275 6 месяцев назад +1

    Stripe integration k leye account hona zarori hai

  • @Mardo716
    @Mardo716 2 месяца назад

    hey broh can you help me polease?

    • @CodeWithMasood
      @CodeWithMasood  15 дней назад +1

      Hey, sorry for late reply but yes please message me on insta or fb and i can help you out

  • @h_butt12
    @h_butt12 7 месяцев назад

    Stripe work in Pakistan?

  • @abc7089
    @abc7089 2 месяца назад

    Dude, you're clicking too fast and jumping from page to page too fast!

  • @shivammchaudhary4100
    @shivammchaudhary4100 3 месяца назад +1

    Worst video .... not telling the process you just wanted to create the video

  • @NikulPipariya-hg5mb
    @NikulPipariya-hg5mb 7 месяцев назад +6

    change stupid theme... I can even see what you have written even though in retina disaply..... pure black is distracting.... just use normal one came by default.... otherwise thanks for tutorial...

    • @emmanuelakogwu9078
      @emmanuelakogwu9078 4 месяца назад +5

      Address people with courtesy….. this is not a good way to give feedback