diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-13 15:56:31 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-13 15:56:31 -0500 |
| commit | 1ad2f8b234bcf227605f285450a41f40a0e0e3a7 (patch) | |
| tree | 56d43d101c257dfbf3867ccac3e4c5e7470179a7 /Omni/Lint.hs | |
| parent | abc8230c04a787045a599327455445585edff46a (diff) | |
Add error handling for unconfigured Stripe billing portal
- Catch Stripe exceptions when portal not configured - Redirect to
account page with user-friendly error message - Display error alert
on account page when present - Change portal return URL to /account
instead of /
Fixes issue when Stripe billing portal settings haven't been configured
in test/production dashboard.
Amp-Thread-ID:
https://ampcode.com/threads/T-8edacbeb-b343-49ca-b524-1c999272acb6
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Lint.hs')
0 files changed, 0 insertions, 0 deletions
