Client-only Stripe checkout (legacy flow)

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 33

  • @itsanuragnandi
    @itsanuragnandi 3 роки тому +2

    dudeee! Thanks for the help the video was quick and simple to understand. It works and really helped :)

    • @notrab
      @notrab  3 роки тому

      Glad it helped! Thank you for watching :-)

    • @imranazad4862
      @imranazad4862 3 роки тому

      Where can i download index.js page..

  • @tb880
    @tb880 3 роки тому +1

    thanks for the detailed breakdown. What are the downsides of revealing product id on the client side? Can't think of anything that would be a threat to security

    • @Alphfirm
      @Alphfirm 3 роки тому +1

      I think if you have a cheaper price option of a product, and the user somehow gets that priceid, he would be able to buy the product for the cheaper price

    • @tb880
      @tb880 3 роки тому

      @@Alphfirm I see. I wonder if voucher codes get exposed to client too?

    • @JonHogg
      @JonHogg 2 роки тому

      Any more ideas on this since you posted?

  • @yeetenman
    @yeetenman 3 роки тому +1

    Would it be possible to set a custom price from the clientside, instead of pre-selecting one that has already been created in the stripe dash?

    • @notrab
      @notrab  3 роки тому +1

      Not with Stripe Checkout client implementation. You'd need to use the server side option to do this as far as I know.

  • @exodion4173
    @exodion4173 3 роки тому +1

    Thank you, my man.
    Also, I can't find your next video where u mentioned that we will see other parameters of redirectToCheckout. Can u link me to it?

    • @notrab
      @notrab  3 роки тому +1

      Hey, thank you! I ended up removing the video due to a few stripe changes but I should redo it and upload!

  • @caioth1209
    @caioth1209 2 роки тому

    Hey man! Is it possible to get the response of the payment if it’s approved?

  • @virendrakumar-zp8lv
    @virendrakumar-zp8lv 7 місяців тому

    Hi, Can I use this method in Test mode?
    I am not getting to enable client-only integration in test mode. could you suggest?

    • @notrab
      @notrab  7 місяців тому

      Hey, I'm not sure on the status of this feature. Perhaps it was deprecated. I can make a new video though.

  • @totalvuesports8305
    @totalvuesports8305 2 роки тому

    Hi Jamie, Subscribed!
    Can we put the checkout page in a popout/up modal instead of the current tab or instead of a new tab?

    • @notrab
      @notrab  2 роки тому

      Hey. This isn’t possible. Maybe in the future? 🤞

  • @whalyf1
    @whalyf1 Рік тому

    stripe.redirectToCheckout is deprecated, how can i do the same using the recommended stripe.checkout.session.create making a request to render the checkout form?

  • @anacampano72
    @anacampano72 3 роки тому

    Hello, thank you for this video. My problem that the checkout code doesn´t appear when the product is set as a package. What can I do in this case?

  • @michaeledwardharris
    @michaeledwardharris 3 роки тому

    Helpful. Thanks!

  • @rembrandt702
    @rembrandt702 3 роки тому

    I created a test mode link. Do I have to create another one for ACTIVE Mode?

    • @notrab
      @notrab  2 роки тому

      As far as I know yes. They’re completely isolated environments.

  • @abdullahhassan7100
    @abdullahhassan7100 3 роки тому

    thanks for the video. very simple. On your next video, can you also add how to use next.js api route to then further process the information. For example, upon a successful payment, send the data to CMS or a Order Management System.

    • @notrab
      @notrab  3 роки тому

      Will do! I’ll make a video on it

    • @samvanfleteren
      @samvanfleteren 2 роки тому

      @@notrab Very helpful, thanks! Have you made a video about the success-to-CMS already (see comment above)? Can't seem to find it on your channel.

  • @Jai-yn3te
    @Jai-yn3te 3 роки тому

    Hi can you please share the source code ?

  • @goodpeople5435
    @goodpeople5435 3 роки тому

    Not a good tutorial at all, don't waste your time if you are trying to install a buy button on your page because he just talks about coding and doesn't address the issue.

    • @notrab
      @notrab  3 роки тому +1

      Thanks for your feedback. If you’re looking for a “buy button” then I wouldn’t recommend stripe checkout. You’re probably better off using Gumroad or Snipcart if you want that.
      Please do let me know what I should address in this video so I can redo it.

    • @notrab
      @notrab  3 роки тому

      Anything I can do to help?

    • @goodpeople5435
      @goodpeople5435 3 роки тому

      @@notrab you’re a good guy tho

    • @kellbonell
      @kellbonell 3 роки тому +1

      @@notrab I just want a link that I can send clients to pay for a product or service. Is this possible with Stripe?

    • @JonHogg
      @JonHogg 2 роки тому +1

      @@kellbonell It is now with Stripe Payment Links