Ghost/core/server
Rishabh Garg 0ce5f87616
🐛 Added past_due and unpaid subscriptions for members (#12301)
refs https://github.com/TryGhost/Ghost/issues/12256 , https://github.com/TryGhost/Ghost/issues/12255

Currently when listing subscriptions for Members in both the Admin and the Theme, we only show the subscriptions which have a status of trialing or active.

Based on discussion, the `unpaid` and `past_due` states on Stripe also represent owner's intention of considering a subscription as active instead of `cancelled`, so we allow any subscriptions under these 2 states to be also listed for a member and consider them as `paid`.

- Subscriptions will go into a past_due state if the payment is missed, this should be considered a grace period where the member still has access.

- After this the subscriptions will either go to the unpaid or the cancelled state - this can be configured on an account by account basis in the Stripe dashboard. `unpaid` is considered as an intention to keep the subscription to allow for re-activation later.
2020-10-27 15:19:48 +05:30
..
adapters Fixed "no-shadow" linting error in server modules (#12287) 2020-10-20 12:02:56 +13:00
api Fixed "no-shadow" linting error in server modules (#12287) 2020-10-20 12:02:56 +13:00
data Fixed "no-shadow" linting error in server/data modules (#12288) 2020-10-20 11:56:46 +13:00
lib Fixed "no-shadow" linting error in server modules (#12287) 2020-10-20 12:02:56 +13:00
models 🐛 Added past_due and unpaid subscriptions for members (#12301) 2020-10-27 15:19:48 +05:30
public 🐛 Fixed members form missing data-members-name (#12250) 2020-10-01 18:05:23 +01:00
services Updated members admin redirect to new page(#12296) 2020-10-22 16:10:25 +05:30
translations Added basic CRUD admin API for snippets 2020-10-16 18:02:58 +01:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Fixed "no-shadow" linting error in server modules (#12287) 2020-10-20 12:02:56 +13:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Improved testmode logging of shutdown status 2020-08-18 15:48:42 +01:00
index.js Added routes.yaml content checksum storage to the db 2020-09-10 10:54:57 +12:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00