Premium checkout: CoinPay hosted session with URL + QR in the SSH terminal

join@ now creates a CoinPay checkout session (POST /checkout/sessions) instead
of a single-chain ETH payment: the buyer picks any coin the business accepts or
PayPal. The session URL and a half-block QR code of it are shown in the
terminal, and the session is polled (GET /checkout/sessions/:id) until paid,
Enter, disconnect or expiry. property=bbs.profullstack.com, account_id=handle,
customer_email=the verified email (asked for if none is stored), metadata
carries pubkey fingerprint, user id and the HMAC ref. Legacy payment ids still
verify.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-21 12:46:40 +00:00
parent 8fe601b296
commit 865c098189
7 changed files with 333 additions and 181 deletions

1
go.mod
View file

@ -20,6 +20,7 @@ require (
golang.org/x/crypto v0.58.0
golang.org/x/term v0.47.0
modernc.org/sqlite v1.60.1
rsc.io/qr v0.2.0
)
require (