Commit 01e1010
Add Stripe checkout redirect flow and subscription URL handler
- Backend: Add /api/stripe/redirect endpoint that trampolines from
https:// to fazm:// custom URL scheme (required by Stripe Checkout)
- Backend: Add payment_method_types[0]=card to checkout params
- Backend: Skip webhook signature check when secret is "placeholder"
- App: Handle fazm://subscription/success URL to refresh status and
dismiss paywall after successful payment
- App: Remove hardcoded success/cancel URLs from SubscriptionService
(backend now constructs them using its own redirect endpoint)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4d8229c commit 01e1010
2 files changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
976 | 990 | | |
977 | 991 | | |
978 | 992 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
0 commit comments