mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-12-01 01:14:47 +00:00
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:
parent
8fe601b296
commit
865c098189
7 changed files with 333 additions and 181 deletions
1
go.mod
1
go.mod
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue