Paid app subscribers lose access for a day before most monthly renewals
A paying subscriber to a monthly paid app loses access for about a day before most renewals.
The entitlement key lives exactly 30 days and is re-armed only when the renewal invoice is paid, which Stripe does about an hour after the period rolls over. Every period longer than 30 days, meaning the month after any 31-day month, runs past the key. In that window enabling the app and OAuth authorize return 403, and the app page shows Subscribe with the payment link to someone who is already paying.
Driving the real webhook and entitlement check through a year of monthly renewals on main, with Redis expiry and the clock faked: 25 hours locked out before the first renewal, then 24 hours before the April, June, August, September and November renewals. 145 hours over 6 of 11 renewals.
Fix in #17837.
Proposing this as a paid bounty ($50) per the contribution docs, @kodjima33.
Source: BasedHardware/omi