mirror of
https://github.com/readest/readest.git
synced 2026-11-29 19:02:28 +00:00
|
Some checks are pending
CodeQL Advanced / CodeQL gate (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Blocked by required conditions
CodeQL Advanced / Analyze (javascript-typescript) (push) Blocked by required conditions
CodeQL Advanced / Analyze (python) (push) Blocked by required conditions
CodeQL Advanced / Analyze (rust) (push) Blocked by required conditions
Publish Docker image / build (linux/amd64, ubuntu-latest) (push) Waiting to run
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Publish Docker image / merge (push) Blocked by required conditions
Build with Nix / tests (push) Waiting to run
PR checks / build_web_app (push) Blocked by required conditions
PR checks / CI gate (push) Waiting to run
PR checks / nix_flake_check (push) Blocked by required conditions
PR checks / rust_lint (push) Blocked by required conditions
PR checks / koplugin_rust_lint (push) Blocked by required conditions
PR checks / test_web_app (1) (push) Blocked by required conditions
PR checks / test_web_app (2) (push) Blocked by required conditions
PR checks / test_web_browser (push) Blocked by required conditions
PR checks / test_extensions (push) Blocked by required conditions
PR checks / build_tauri_app (push) Blocked by required conditions
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
Switching plans in the Stripe billing portal bills the prorated difference at once. Paid by US bank debit (ACH), that payment stays `processing` for days, and Stripe marks the subscription `past_due` until it clears. getHighestActivePlan counted only `active` and `trialing`, so the customer.subscription.updated webhook wrote `plan: free` the moment the subscriber switched: no paid features, and cloud sync blocked once their library was over the free quota. A new subscription paid the same way is `active` from the start, so only the switch hit this. A `past_due` subscription now counts while its latest invoice's PaymentIntent is `processing`. When the debit settles, invoice.paid or invoice.payment_failed (both on the live endpoint) re-resolves the plan, so a failed debit still drops it as before. Failed card payments are unchanged. Reported by a subscriber by email. Verified: - stripe-server.test.ts: the two new processing tests fail on main with `expected 'free' to be 'plus'` and pass with the fix. - stripe-server.live.test.ts, read-only against the reporter's live subscription (past_due, ACH payment processing): main resolves `free`, this branch resolves `plus`. - pnpm test: 1452 files passed, 0 failed. pnpm lint: clean apart from one warning and one info that main has too. pnpm format:check: clean. - Not run: an end-to-end ACH plan switch with webhook delivery in Stripe test mode. Co-authored-by: Claude Code (Claude Opus 5.5) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| readest-app | ||
| readest-calibre-plugin | ||
| readest-crosspoint-plugin | ||
| readest.koplugin | ||