mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
feat(rotation): buy automatic rotation, $29 per team per 30 days (CoinPay) (#272)
- Rotation page button + POST /api/credshare/teams/:slug/rotation/auto/checkout open a CoinPay hosted checkout (owner/admin only). - POST /api/coinpay/webhook and the page's return check settle once per checkout session (rotation_payments); paying again extends from the current end. - Hourly sweep: renewal email 3 days before, switch off when the days run out. A team switched on by hand (paid_until NULL) never expires. - Migration 012 (both dialects), CSP form-action allows coinpayportal.com. Co-authored-by: Anthony Ettinger <anthony@profullstack.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
63ecfb4ed6
commit
0cfb94e56c
12 changed files with 521 additions and 15 deletions
5
bun.lock
5
bun.lock
|
|
@ -83,6 +83,7 @@
|
|||
"version": "0.1.1",
|
||||
"dependencies": {
|
||||
"@logicsrc/cli": "workspace:*",
|
||||
"@profullstack/coinpay-onboard": "0.3.1",
|
||||
"@profullstack/footer": "0.5.0",
|
||||
"@profullstack/libsql-pg": "^0.1.4",
|
||||
"@profullstack/profile": "0.1.6",
|
||||
|
|
@ -148,7 +149,7 @@
|
|||
},
|
||||
"packages/cli": {
|
||||
"name": "@logicsrc/cli",
|
||||
"version": "0.15.0",
|
||||
"version": "0.16.0",
|
||||
"bin": {
|
||||
"logicsrc": "./dist/index.js",
|
||||
},
|
||||
|
|
@ -753,6 +754,8 @@
|
|||
|
||||
"@profullstack/autoblog": ["@profullstack/autoblog@github:profullstack/autoblog#75e54af", {}, "profullstack-autoblog-75e54af", "sha512-f/YwwiVTzKz659+6RHgeGueSdUrWAnon5OHT1YfOI5TdLZPDrLFGE88051fzQXAlsBrkDK1jrm216OIrKygnRA=="],
|
||||
|
||||
"@profullstack/coinpay-onboard": ["@profullstack/coinpay-onboard@0.3.1", "", { "dependencies": { "@modelcontextprotocol/sdk": "^1.32.2", "zod": "^4.6.7" }, "bin": { "coinpay-onboard": "bin/coinpay-onboard" } }, "sha512-+K7D6uaX10y+0V5sg7To1jKwNG8iCNbN9SSW6q5ACzoiDNswMox3G7gzY/Swxd128klq7ecN2Ni4JVNr50nRIQ=="],
|
||||
|
||||
"@profullstack/emailer": ["@profullstack/emailer@1.0.3", "", {}, "sha512-VyAtCcfnSI6LOwJvWogCr3ZNmEsaZw+iuWrqnosLsdcKsbRyCrCmXigMNZJZEjlgYlR+lK//PwNPG+xtCFvWAw=="],
|
||||
|
||||
"@profullstack/footer": ["@profullstack/footer@0.5.0", "", { "peerDependencies": { "react": ">=18" }, "optionalPeers": ["react"], "bin": { "profullstack-footer": "bin/profullstack-footer.js" } }, "sha512-TrllS87nK7J0c/UgYckaFIWVhLOtr6m73XXFSHIuSfOg7NfuWUdwjtsfMXGaZiiUnmMYj3zhGcfzW0DicDwl8w=="],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue