Repository navigation
Premium checkout: CoinPay hosted session with URL + QR in the SSH terminal - #156
Merged
Merged
Conversation
…minal 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>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ThreatCrush Security Scan10 finding(s) HIGH/CRITICAL: 7 | LOW: 3
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the $99 Founding Lifetime checkout over SSH join@ to a CoinPay hosted checkout session.
POST /api/checkout/sessionswith propertybbs.profullstack.com,account_id= handle,customer_email= verified email (prompted if missing), metadata {ref, plan, handle, pubkey_fp, user_id, site}. No pinned chain: any coin or PayPal.GET /checkout/sessions/:idevery 5s until paid (grants premium, shows perks), Enter, disconnect, or 60 min.VerifyPremiumhandlescs_ids and still settles legacy payment ids.COINPAY_API_KEYis needed now (the key identifies the business).Tested: unit tests for the session body + paid/legacy settle; live run of the checkout path against prod CoinPay created cs_FwUWGG4TnRrsYGUJ2z7unCNQ (property bbs.profullstack.com, methods incl. PAYPAL).
🤖 Generated with Claude Code