Setup Stripe Recurring Payments With NodeJS And React Application

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Stripe Recurring Subscription Integration With MERN StackRepo Link:- github.com/Tri...
    Documentation:-
    stripe.com/doc...
    stripe.com/doc...
    #Stripe #paymentgateway #mongodb #javascript #nodejs #mernstack

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

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

    How can I add Google pay and apple pay button also , please provide any solution or docs link , video link

    • @TrickSumo
      @TrickSumo  6 месяцев назад

      Hi
      Checkout:- docs.stripe.com/google-pay?platform=web
      Steps
      1. Click on the gear icon (settings) >> Payment settings >> Payment methods
      2. Enable Apple and Google pay (verify domain name in payment method domains tab).
      That's it, now wallets should appear on the checkout page.
      Apple Pay and Google Pay are included in the card payment method type, so you don’t need to explicitly pass Apple Pay and Google Pay here:- github.com/TrickSumo/stripe-demo/blob/subscription/server/server.js#L80

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

    It's not redirecte for stripe checkout page please solve this

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

      Hi
      At what timestamp in video you faced this problem?

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

      14:50 ​@@TrickSumo

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

      ​​@@TrickSumo the error is response .json is not a function

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

      @@aloneking5388 So I took code from GitHub as it is, just updated .env file and did "npm i". Things working as expected for me.
      For you, looks like there is some error from the server side. Try adding some logs here:- github.com/TrickSumo/stripe-demo/blob/subscription/client/src/HomePage.js#L21
      Or inspect network calls to see what is exact error from the server.

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

      @@TrickSumo I think the next the problem in in Loadstripe in not working