I recently needed a way to sell small digital downloads from a static GitHub Pages site without adding a conventional backend, merchant account, database, or card processor.
The store now has a working Lightning checkout built from three pieces:
a static HTML form
a Netlify Function that owns prices and creates invoices
OpenReceive connected to a receive-only Nostr Wallet Connect (NWC) wallet
The live checkout is used for the SecondWindMC digital products store and the Circuit UI SFX pack . This article is the implementation pattern and the important caveats.
The shape of the checkout
The static page does not mint invoices in the browser.…