@neal I find myself building some cart/checkout/e-commerce stuff from (relative) scratch, and I remember you posting about doing so yourself. Were there any particularly useful resources for design there?

Follow

@yomimono In my case I was using the Stripe API for payment processing which has excellent documentation (the curl examples are reasonably easy to translate to whatever you want to use for that). The coffee shop additionally uses Shippo for postage rate quotes and label generation. Otherwise, my guiding principle was to keep things pretty much as dumb as possible (but no dumber) and log everything in case I messed it up. Happy to chat if you have questions.

· · Web · 1 · 0 · 1

@neal thanks! Glad to see the Stripe API is still good for this (and not just "embed our widget" or "use our SDK"). I've gotten as far as getting test webhook events and validating their signature which is promising 💪 I'm currently doing a lot of thinking around sessions and state, and the "keep it as stupid as possible" approach is also what I'm aspiring to.

Sign in to participate in the conversation
Typica Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!