3 ms·
Ask HN: I run a tiny home business making widgets. My web page, including order form, is pure HTML. From what I can tell (looking at page source for the Watsi
by analog31 13y ago
Ask HN: I run a tiny home business making widgets. My web page, including order form, is pure HTML.
From what I can tell (looking at page source for the Watsi example), at the very least in order to use Stripe, I have to add some JavaScript to my web page, and of course test it.
Granted, that shouldn't be a big problem for a skilled web developer, but I'm not one.
Am I understanding it right?
- fallenhitokiri 13y agoYou need some lines of JavaScript you can basically copy 1:1 from the docs (or if you scroll down the linked page there is also an example). But you also need some backend to handle the actual payment. The widget generates a token which you can use to create customers, charge them etc. One implementation from Stripes docs https://stripe.com/docs/checkout/guides/flask https://stripe.com/docs/checkout/guides/flask