Payments & Fintech
Stripe

Four Stripe products nothing ever buys, and a script that refuses to run against a live key

Our checkout builds every line item inline, so the Product objects in our Stripe account are bought by nobody. They exist to satisfy an activation gate and to make reporting legible, which makes the script that creates them an odd thing to get right. Tagged with stripe, typescript, payments, node.
dev.to
October 11, 2026
7
Four Stripe products nothing ever buys, and a script that refuses to run against a live key
WHAT HAPPENED
s dashboard groups by Product. With nothing but inlineprice_data, every sale is its own anonymous line, and answering A school code, an affiliate link and a provider with a small suite all land on a differentunit_amount, and inlineprice_datalets one code path produce any of them. Pre-made Price objects would mean a Price per amount per currency per programme, which is a combinatorial pile of objects to keep in step with the app. The requirement is about the account, not about any particular session, so four Products sitting there satisfy it while the sessions carry on being built inline with the same tax code attached viaproduct_data. With nothing but inlineprice_data, every sale is its own anonymous line, and answering "how much Interview Access did we sell" means exporting and grouping by a name string.
Continue reading from the original publisher for the complete report and source context.
READ ORIGINAL STORY