summaryrefslogtreecommitdiff
path: root/Omni/Cloud.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-12 20:16:36 -0500
committerBen Sima <ben@bsima.me>2025-11-12 20:16:36 -0500
commit9394a859af58c1ffc10190d43b19832c9b8d026b (patch)
tree9b9d4b0a98487890a2c899a9698a35bbc748a165 /Omni/Cloud.nix
parent3c3eec2b58231bb3e0af58821401a69a994721ac (diff)
Fix subscription webhook to handle Stripe API version differences
- Use billing_cycle_anchor or start_date as fallback for period start - Calculate period end by adding 1 month if not provided - Handles newer Stripe API versions that don't include current_period_* fields - Fixes issue where subscription.created webhook couldn't update user plan - Works with Stripe API Version 2025-10-29.clover and newer
Diffstat (limited to 'Omni/Cloud.nix')
0 files changed, 0 insertions, 0 deletions