mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 01:14:47 +00:00
POST /api/hire-us/coinpay-checkout now opens a CoinPay checkout session instead of a single-chain USDC_POL /api/payments/create. The buyer picks any coin the business has a wallet for, or PayPal. Each session sends customer_email (required), account_id (CoinPay OAuth sub when signed in, else the buyer email for guests), property logicsrc.com and the Hire Us metadata. The cs_ id is recorded in the new hire_us_checkouts table. The webhook records session payments from the session fields (checkout_session_id, account_id, customer_email, property), stores the session id on hire_us_payments, marks the checkout paid, and stays idempotent on payment_id across confirmed, forwarded and replays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apex-rewrites.contract.test.ts | ||
| coinpay-webhook.contract.test.ts | ||
| doc-links.contract.test.ts | ||
| html-sanitizer.test.ts | ||
| install-command.contract.test.ts | ||
| logicsrc-web.contract.test.ts | ||
| marketing-drift.contract.test.ts | ||
| ontology-api.contract.test.ts | ||
| openerrand.contract.test.ts | ||
| openinstall.contract.test.ts | ||
| openpkg.contract.test.ts | ||
| openskill.contract.test.ts | ||
| openstack.contract.test.ts | ||
| opentask.contract.test.ts | ||
| page-metadata.contract.test.ts | ||
| spec-discovery.contract.test.ts | ||