Ghost/ghost/members-api/lib
Rishabh Garg c996c7b576 Added unpaid and past_due subscription status as paid member (#211)
refs https://github.com/TryGhost/Ghost/issues/12256 , https://github.com/TryGhost/Ghost/issues/12255

Currently when listing subscriptions for Members, we were only showing 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:15:23 +05:30
..
stripe Added unpaid and past_due subscription status as paid member (#211) 2020-10-27 15:15:23 +05:30
common.js
geolocation.js
metadata.js Used models internally and for exported API (#195) 2020-08-12 12:57:28 +01:00
tokens.js
users.js Updated customer when member email is changed 2020-09-28 16:57:51 +01:00