Example shop
A plain HTML page, no framework. Each button below is one script tag.
These are real mainnet payments. Each one is a tip to sithunyein.near, who built Hasp. Nothing is shipped.
A coffee
$1, paid in whatever coin you hold.
Lunch
$3, paid in whatever coin you hold.
The code for the first button
<script src="https://thehasp.vercel.app/checkout.js"
data-to="sithunyein.near" data-usd="1" data-item="A coffee"></script>