summaryrefslogtreecommitdiff
path: root/Biz.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-13 15:56:31 -0500
committerBen Sima <ben@bsima.me>2025-11-13 15:56:31 -0500
commit1ad2f8b234bcf227605f285450a41f40a0e0e3a7 (patch)
tree56d43d101c257dfbf3867ccac3e4c5e7470179a7 /Biz.nix
parentabc8230c04a787045a599327455445585edff46a (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 'Biz.nix')
0 files changed, 0 insertions, 0 deletions