mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
a4107b8202
fixes https://linear.app/tryghost/issue/ENG-642 - When a subscription is in the `canceled` state the corresponding Member has no access to the Ghost site. The only time a Member will continue to have access if their subscription is due to cancel at the period end is if it is still in an active state, which is one of `active` `trialing` `unpaid` or `past_due` - When a subscription is canceled immediately (i.e. before the end of the current billing period), we now render "Ended" without a date, because we don't store the cancellation date in the subscription object. We previously used "Ended {current_period_end}" which would sometimes lead to dates in the future - Bonus: refactored code and added unit tests --------- Co-authored-by: Sag <guptazy@gmail.com> |
||
---|---|---|
.. | ||
analytics.js | ||
bound-one-way.js | ||
caja-sanitizers.js | ||
copy-text-to-clipboard.js | ||
ctrl-or-cmd.js | ||
currency.js | ||
fetch-koenig-lexical.js | ||
flatten-grouped-options.js | ||
get-scroll-parent.js | ||
ghost-paths.js | ||
isNumber.js | ||
link-component.js | ||
merge-stats-by-date.js | ||
password-generator.js | ||
publish-options.js | ||
route.js | ||
selection-list.js | ||
sentry.js | ||
shortcuts.js | ||
slug-url.js | ||
subscription-data.js | ||
window-proxy.js |