Commit 3db29f2
power: in-app 'Keep Power' upgrade (monthly/annual → Stripe)
Wispr model: pay inside the app, not on a marketing page. A Power-trial user
now sees a 'Keep Power' block in Settings → Account (X days left) with $30/mo
and $24/mo-annual buttons. _act_upgrade_power opens the Stripe checkout for the
chosen interval, prefilled + client_reference_id'd with the account email so the
webhook binds the payment. Shown only during a trial (plan=power + trialDaysLeft
set); a paying Power user doesn't see it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019GTBZjBGurqsHUHsjaU1gA1 parent e232ef0 commit 3db29f2
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
631 | 637 | | |
632 | 638 | | |
633 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
634 | 659 | | |
635 | 660 | | |
636 | 661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
| |||
0 commit comments