PikaSim on Nostr: Three things that bit us building a checkout with zero JavaScript: 1. Monero ...
Three things that bit us building a checkout with zero JavaScript:
1. Monero addresses are lazy. Our payment server only generates one when a checkout page activates that method. A self-rendered page has to make that call itself or the address field is empty.
2. Every Tor visitor shares one IP. Traffic from an onion service arrives from the Tor daemon, so per-IP rate limits would have let ten visitors lock the whole mirror out of checkout.
3. The last page counts. Our first version handed the finished order to the normal order page. It worked with scripts off, but its source carried the site scripts, which broke the "view the source" promise on the final step.
https://pikasim.com/no-javascript-checkoutPublished at
2026-11-09 17:47:00 UTCEvent JSON
{
"id": "d667836cc6b7d13f0b43300d92a6942e6fad63d2f4038f0e5183459c7b38fa0f",
"pubkey": "62dc0b3a8507af9e3616618a82a9a770d987fe47ea8198d79fd1bd7c4581312a",
"created_at": 1794246420,
"kind": 1,
"tags": [
[
"r",
"https://pikasim.com/no-javascript-checkout"
]
],
"content": "Three things that bit us building a checkout with zero JavaScript:\n\n1. Monero addresses are lazy. Our payment server only generates one when a checkout page activates that method. A self-rendered page has to make that call itself or the address field is empty.\n\n2. Every Tor visitor shares one IP. Traffic from an onion service arrives from the Tor daemon, so per-IP rate limits would have let ten visitors lock the whole mirror out of checkout.\n\n3. The last page counts. Our first version handed the finished order to the normal order page. It worked with scripts off, but its source carried the site scripts, which broke the \"view the source\" promise on the final step.\n\nhttps://pikasim.com/no-javascript-checkout",
"sig": "b02af27f6003df50c016061f0684bcdc45c33352500a34757013cae73ce467d71caa61b82eb020dda09206e2c3d359ad8efc366343b5828896ec7d847ecc2a3c"
}