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
Your build-in-public audience is not your market. I learned the difference the slow way. User Avatar 192 comments I built a WhatsApp AI bot for doctors in Peru — launched 3 weeks ago, 0 paying customers, and stuck waiting for Meta to approve my app User Avatar 61 comments Built a "stocks as football cards" thing. 5 days in, my launch tweet got 7 views. What am I missing? User Avatar 33 comments From broke and burned out as a PM, to launching my SaaS and optimizing my health User Avatar 32 comments Why Claude Skills Are Becoming Important for Tech Careers User Avatar 24 comments I kept starting projects and dropping them. So I built a system that wouldn’t let me User Avatar 23 comments