[{"data":1,"prerenderedAt":288},["ShallowReactive",2],{"blog-post-files-not-subscriptions-en":3},{"post":4,"related":80,"latest":193,"adjacent":194},{"id":5,"title":6,"authorImage":7,"authorLink":8,"authorName":9,"body":10,"cta":63,"date":68,"description":69,"draft":70,"excerpt":7,"extension":71,"image":7,"meta":72,"navigation":73,"path":74,"seo":75,"startHere":70,"stem":76,"tags":77,"__hash__":79},"posts\u002Fblog\u002Ffiles-not-subscriptions.md","The files you ship should be yours",null,"\u002Fabout","A. Lee",{"type":11,"value":12,"toc":55},"minimark",[13,17,22,25,28,32,35,38,42,45,48,52],[14,15,16],"p",{},"Hand a client a site that depends on your monthly plan and you have handed them\na bill they cannot cancel. The code exists, but the permission to run it lives\nsomewhere else. Buying source once breaks that link.",[18,19,21],"h2",{"id":20},"what-one-payment-buys-you","What one payment buys you",[14,23,24],{},"The files arrive by email, and the same purchase stays available in the payment\nprovider's customer portal. If the laptop dies in three years, the download link\ncan be recovered without asking anyone for a favour.",[14,26,27],{},"There is no renewal date to remember and no account to create before checkout.\nOne invoice, one delivery, one folder on disk.",[18,29,31],{"id":30},"what-you-give-up","What you give up",[14,33,34],{},"You get the version you paid for, not a stream of updates. If the project\nchanges shape later, you either adapt it yourself or buy the newer release. That\nis the trade: a lower bill and full control, in exchange for owning the\nmaintenance.",[14,36,37],{},"Support does not disappear, but it is narrower. Broken files and a description\nthat does not match the delivery are covered by the refund window. A custom\nfeature request is not.",[18,39,41],{"id":40},"why-delivery-does-not-need-an-account","Why delivery does not need an account",[14,43,44],{},"Accounts make sense when a product has to check entitlement: a course that\nunlocks lessons, a licence that expires, updates tied to a purchase. A folder of\nsource does not need any of that. The download either worked or it did not.",[14,46,47],{},"When a product does need entitlement, the account should belong to that product,\nnot sit as a gate in front of the catalogue. Prices, file lists, and licence\nterms stay readable without signing in.",[18,49,51],{"id":50},"what-this-means-at-handover","What this means at handover",[14,53,54],{},"The client receives a deployable project, not a login on your card. You can\nchange the code, move it to their hosting, and stop paying for anything. That is\na smaller promise than a managed platform makes, and it is one the files can\nkeep.",{"title":56,"searchDepth":57,"depth":57,"links":58},"",2,[59,60,61,62],{"id":20,"depth":57,"text":21},{"id":30,"depth":57,"text":31},{"id":40,"depth":57,"text":41},{"id":50,"depth":57,"text":51},{"title":64,"description":65,"label":66,"sku":67},"Pay once. Keep the files.","Tokenmotion is one payment for the GSAP source. It arrives by email and stays available in the customer portal.","Get Tokenmotion source — USD 79","templates-kit-tokenmotion-source-usd","2026-11-09","What one-time purchase gives the buyer, what it gives up, and why delivery does not need an account.",false,"md",{},true,"\u002Fblog\u002Ffiles-not-subscriptions",{"title":6,"description":69},"blog\u002Ffiles-not-subscriptions",[78],"shipping and owning it","2VjyAHtwyWYgg28zqHbLCApZtzT9uMkC1C0wzW9WWws",[81],{"id":82,"title":83,"authorImage":7,"authorLink":8,"authorName":9,"body":84,"cta":180,"date":185,"description":186,"draft":70,"excerpt":7,"extension":71,"image":7,"meta":187,"navigation":73,"path":188,"seo":189,"startHere":70,"stem":190,"tags":191,"__hash__":192},"posts\u002Fblog\u002Fafter-the-webhook-arrives.md","After the webhook arrives",{"type":11,"value":85,"toc":172},[86,94,97,101,104,110,114,117,120,126,130,133,136,139,143,146,149,152,156,159,162,166,169],[14,87,88,89,93],{},"Most payment tutorials end in the same place: the provider posts an event, the application returns ",[90,91,92],"code",{},"200",", and a success message appears. That is a good first afternoon. It is not the part that keeps a store running.",[14,95,96],{},"The webhook is the easy part. Everything after it is the product.",[18,98,100],{"id":99},"the-happy-path-is-one-branch","The happy path is one branch",[14,102,103],{},"A payment integration has more events than the one in the tutorial. There are pending payments, failed payments, expired sessions, refunds, partial refunds, disputes, and events that arrive out of order.",[14,105,106,107,109],{},"Write down every event the provider can send before you write the handler. Then decide what your application should do with each one. For events you do not care about, log them and return ",[90,108,92],{}," deliberately. Do not let an unknown event crash the endpoint, because the provider will retry it.",[18,111,113],{"id":112},"duplicate-events-are-normal","Duplicate events are normal",[14,115,116],{},"Providers retry. Networks drop responses. A process can write the order and die before it acknowledges the event. The same payment can therefore arrive two or three times, and that is normal operation.",[14,118,119],{},"Store the provider's event ID with a unique constraint. Process the event once. Make the side effects idempotent as well: sending a receipt twice is still a bad customer experience, even if the database row is correct.",[14,121,122,123,125],{},"Return success only after the work is durable. A ",[90,124,92],{}," before the write is a promise you have not kept.",[18,127,129],{"id":128},"refunds-move-backwards","Refunds move backwards",[14,131,132],{},"A refund is not the absence of a payment. It is a new event with its own rules.",[14,134,135],{},"Decide what happens to access after a refund. Does the buyer keep the files? Does a course enrollment close? What about a partial refund, or a dispute that is later resolved in your favour? The answers are business decisions, but the code must make them explicit.",[14,137,138],{},"Record the reason and the provider reference. Future you will need both.",[18,140,142],{"id":141},"delivery-can-fail-after-payment","Delivery can fail after payment",[14,144,145],{},"A paid order can still fail to deliver. Email bounces. A storage link expires. A background worker runs out of retries.",[14,147,148],{},"Keep payment state and delivery state separate. \"Paid\" and \"delivered\" are different facts, and an order can be one without the other. Give delivery its own retry policy, its own failure reason, and a view that shows paid orders that have not reached the buyer.",[14,150,151],{},"The worst outcome is not a failed payment. It is a successful payment that nobody notices failed to deliver.",[18,153,155],{"id":154},"replay-the-last-month","Replay the last month",[14,157,158],{},"Build a way to replay events before you need it. Start with a dry run that reports what would change. Add an audit log that records who replayed what, and when.",[14,160,161],{},"Then test with real old events, not only fresh ones from the sandbox. Production traffic contains the odd ordering, the duplicate delivery, and the customer who paid twice that no test fixture predicted.",[18,163,165],{"id":164},"monitor-the-customer-outcome","Monitor the customer outcome",[14,167,168],{},"Dashboards full of CPU graphs will not tell you whether buyers are getting their files. Track the things a customer would notice: unfulfilled paid orders, failed deliveries, signature failures, and the age of the oldest unprocessed event.",[14,170,171],{},"Alert on those. The infrastructure can be healthy while the store is quietly broken.",{"title":56,"searchDepth":57,"depth":57,"links":173},[174,175,176,177,178,179],{"id":99,"depth":57,"text":100},{"id":112,"depth":57,"text":113},{"id":128,"depth":57,"text":129},{"id":141,"depth":57,"text":142},{"id":154,"depth":57,"text":155},{"id":164,"depth":57,"text":165},{"title":181,"description":182,"label":183,"sku":184},"Start from a billing seam that is already wired.","SubSaver ships Supabase auth, the database migration, and optional Stripe billing in a Next.js project.","Get SubSaver source — USD 49","templates-app-subsaver-source-usd","2026-11-21","Why webhook handling needs idempotency, refund paths, delivery retries, replay tools, and monitoring after the first successful payment.",{},"\u002Fblog\u002Fafter-the-webhook-arrives",{"title":83,"description":186},"blog\u002Fafter-the-webhook-arrives",[78],"HXgtb5HVLuM_HpenPbAqkoFfD_IFVh9BQ8Knt8M8kkM",[],{"previous":7,"next":195},{"id":196,"title":197,"authorImage":7,"authorLink":8,"authorName":9,"body":198,"cta":274,"date":279,"description":280,"draft":70,"excerpt":7,"extension":71,"image":7,"meta":281,"navigation":73,"path":282,"seo":283,"startHere":73,"stem":284,"tags":285,"__hash__":287},"posts\u002Fblog\u002Fstart-with-the-demo.md","Start with the demo, leave with the source",{"type":11,"value":199,"toc":268},[200,203,207,218,221,225,232,245,248,252,255,258,262,265],[14,201,202],{},"Most product pages answer one question: what is in the box. This guide answers a\ndifferent one: how do you decide whether the box is worth opening? The steps are\nthe same for every source project in the store. GutSync is the worked example\nbecause its source costs nothing, so nothing about the decision is hidden behind\na price.",[18,204,206],{"id":205},"run-the-demo-first","Run the demo first",[14,208,209,210,217],{},"Open the ",[211,212,216],"a",{"href":213,"rel":214},"https:\u002F\u002Fgutsynced.web.app",[215],"nofollow","GutSync demo"," and use it for five minutes.\nLog a meal. Add a symptom. Close the tab, open it again, and check whether the\nsecond visit still makes sense.",[14,219,220],{},"Do not grade the demo on polish. Grade it on the job. Does the main flow match\nthe problem you have? Are the empty states honest about what the app cannot do?\nA demo that is honest about its limits is more useful than one that looks\nfinished everywhere.",[18,222,224],{"id":223},"inspect-the-source-before-you-pay","Inspect the source before you pay",[14,226,209,227,231],{},[211,228,230],{"href":229},"\u002Fstore\u002Ftemplates-app-gutsynced-source-usd","GutSync source page",". Read\nthe stack line, the setup requirements, and the file list. Then ask three\nquestions:",[233,234,235,239,242],"ol",{},[236,237,238],"li",{},"Can I run this on my machine with the setup notes that are published?",[236,240,241],{},"Can I find the entry point in ten minutes?",[236,243,244],{},"Can I name the first file I would change?",[14,246,247],{},"If any answer is no, the demo was the wrong test. A polished screen does not\ntell you how much work sits behind it. Setup notes, a file list, and a licence\ndo.",[18,249,251],{"id":250},"buy-the-licence-when-the-answer-is-yes","Buy the licence when the answer is yes",[14,253,254],{},"The licence covers personal and client projects. You can edit the source and\ndeploy it. You cannot resell it or redistribute it as source. That is the whole\ndeal, and it should be readable before checkout rather than after.",[14,256,257],{},"A licence is not a support contract and not a subscription. It is permission to\nuse the files you receive. If the files are broken or do not match the\ndescription, the refund policy gives you two weeks to say so.",[18,259,261],{"id":260},"repeat-the-path-on-a-paid-product","Repeat the path on a paid product",[14,263,264],{},"The same three steps work when money is involved. SubSaver is USD 49 and\nincludes Supabase auth, a database migration, and optional Stripe billing.\nFramright is USD 79 and lists its stack, setup requirements, and licence beside\nthe live preview.",[14,266,267],{},"Run the demo. Inspect the source page. Buy the licence only when both answers are\nyes. The store has no checkout step that will decide for you, which is why the\norder matters.",{"title":56,"searchDepth":57,"depth":57,"links":269},[270,271,272,273],{"id":205,"depth":57,"text":206},{"id":223,"depth":57,"text":224},{"id":250,"depth":57,"text":251},{"id":260,"depth":57,"text":261},{"title":275,"description":276,"label":277,"sku":278},"Take the free source, then decide.","GutSync is the whole path at zero cost: live demo, public source page, and a licence for personal and client projects.","Get GutSync source — free","templates-app-gutsynced-source-usd","2026-11-16","A three-step buying path for source projects, using GutSync as the free worked example.",{},"\u002Fblog\u002Fstart-with-the-demo",{"title":197,"description":280},"blog\u002Fstart-with-the-demo",[286],"choosing a codebase","cZH7iVf4G8KIX4m3NnKPbbRP5wNosgXRqpB6TBmIfAE",1795791709986]