mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
|
Some checks failed
CI / build (push) Has been cancelled
Deploy to dev2 / deploy (push) Has been cancelled
test / test (push) Has been cancelled
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> |
||
|---|---|---|
| .. | ||
| commandboard-api | ||
| commandboard-web | ||
| logicsrc-web | ||
| pwa | ||