Setup Stripe Recurring Payments With NodeJS And React Application

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 11

  • @JordanJaramillo-o5n
    @JordanJaramillo-o5n Місяць тому +1

    Thanks for this awesome video my friend!

  • @pushparaghav2963
    @pushparaghav2963 8 місяців тому +1

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

    • @TrickSumo
      @TrickSumo  8 місяців тому

      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 10 місяців тому +1

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

    • @TrickSumo
      @TrickSumo  10 місяців тому

      Hi
      At what timestamp in video you faced this problem?

    • @aloneking5388
      @aloneking5388 10 місяців тому +1

      14:50 ​@@TrickSumo

    • @aloneking5388
      @aloneking5388 10 місяців тому +1

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

    • @TrickSumo
      @TrickSumo  10 місяців тому

      @@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 10 місяців тому +1

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