1
1 Comment

Stripe integration

Hi there
I'm hoping to allow users of a site I'm building to set up a profile page and add a button to it where they can accept payments using Stripe. I don't want any cut of the money, just want it to be a feature they can have on e.g. a pro plan.

I was never sure how to do this and thought that I'd have to create some sort of marketplace integration. But then I saw how carrd.co does it on the pages that people host on there. Their instructions are here: https://carrd.co/docs/building/adding-a-stripe-checkout-button

Their solution involves providing your Stripe API keys to the platform so that it can call Stripe on your behalf. I wondered whether this was what people generally do to allow Stripe buttons in this way, or if there's another or more official way to do it.

Any advice on this would be gratefully received. I know there's Stripe docs but wondered whether anyone could give me a headstart here :)

Thanks!

posted to Icon for group Developers
Developers
on February 19, 2025
  1. 1

    about the process overall I think it is correct. I am not sure what they mean with "widget". However, you can link to the Stripe API from any JS, React or whatever button.

Trending on Indie Hackers
I'm a lawyer who launched an AI contract tool on Product Hunt today — here's what building it as a non-technical founder actually felt like User Avatar 150 comments A simple way to keep AI automations from making bad decisions User Avatar 65 comments Never hire an SEO Agency for your Saas Startup User Avatar 57 comments “This contract looked normal - but could cost millions” User Avatar 54 comments 👉 The most expensive contract mistakes don’t feel risky User Avatar 41 comments I spent weeks building a food decision tool instead of something useful User Avatar 28 comments