Scriptorium · XII

plain HTML site buy button add

framework lobbe', install nothing je lobbe' ghaH. buy button HTML, plain HTML page simple place live je lobbe' ghaH. line wa' head add, block wa' sell add je lobbe' ghaH.

script tag add, wa'

script tag page head SoH'a' put je lobbe' ghaH. site page many, page Hoch sell head add, shared header file use je lobbe' ghaH.

<script src="https://sdk.coinmoebius.com/latest/sdk.global.js"
  crossorigin="anonymous"
  defer></script>

product dashboard Daq name

project open, Products tab switch, je product add: reference SoH'a' wIpo', name, price, currency. dashboard block write page Qapla' project ID Qapla'. shape Qapla' see.

button sell yaj paste

button body paste where appear je lobbe' ghaH. browser place render, payment picker buyer click first load je lobbe' ghaH.

<coin-moebius-buy
  project-id="proj_YOUR_ID_HERE"
  product-id="t-shirt-medium"
  label="Buy a t-shirt">
</coin-moebius-buy>

publish. button page Qapla' render, payment picker click buyer first Qapla' load. product pagh block wa' reference, label pagh.

watch trap Qapla'

build step lobbe', problem lobbe'

npm bundler framework need lobbe' je lobbe' ghaH. file save, upload, button page load next work je lobbe' ghaH.

page across reuse

page many sell? script tag shared header put, button block copy where need je lobbe' ghaH. product wa' block same, reference label different je lobbe' ghaH.

host Hoch work

GitHub Pages, object-storage bucket, shared host cheap, folder server SoH'a': HTML file serve, sell taHlaH je lobbe' ghaH. side SoH run nothing je lobbe' ghaH.

ready page SoH'a' ghaH

free cover 150 transaction month. lobbe' card sign.