I've been wondering for a while what are good Stripe Checkout backend solutions for static / "server-less" sites?
I've been deploying many micro static sites recently (using surge.sh -- plugging them as they're awesome) and whenever I wanted to add a Stripe Checkout JS integration, I was back at the problem of "what to do with the backend".
I usually end up writing a micro Python service, hosted on Heroku, that accepts a SKU, charges the Stripe token, and returns a (CORS-busting) json success/error payload.
I've seen flatmarket [1] which also exists in a deploy-to-Heroku-in-a-click version [2] but I remember having problems with it, and it doesn't look like it has been recently updated. It almost does what I'd like though: define your products in a JSON file, set your private Stripe key, done.
WooCommerce is definitely great -- for WordPress sites. I don't want to host a WP site. :-)
Any good, simple, hosted/self-hosted backend solutions for Stripe Checkout? It's not a M$ idea/potential, but would this help other people if I pursued this? I don't want to become a middlemen/third-party/Stripe Connect "merchant". I just want to charge the token and return {"success":true}!
Cheers
[1] https://github.com/christophercliff/flatmarket
[2] https://github.com/christophercliff/flatmarket-server-heroku