You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1115a56
Browse filesBrowse the repository at this point in the historyBrowse files
fix(billing): send the trial reminder only for a trial still running (#10503)
* fix(billing): send the trial reminder only for a trial still running
The reminder trusted the webhook's copy of the subscription, which can predate a trial ended
early when the card already had one, so the account was told its trial ends in two weeks after
being charged. It now reads the subscription back from Stripe and sends only while that trial is
still running to the same end.
* test(billing): cover a trial reminder for an end date the trial no longer has
0 commit comments