Ghost/ghost/members-api
Naz Gargol 28d3a37824 Added "complimentary" subscription handling (#118)
refs https://github.com/TryGhost/Ghost/pull/11537

- Adds ability to assign and cancel "complimentary" type of subscriptions to the member
- The functionality is needed to be able to provide free premium plans for members (e.g. family members, trials, gifts)
- When member already has an active paid subscription and complimentary one is applied the old one is upgraded. Proration is not given
- When deleting a subscription we need to update localy stored records right away to be albe to reflect the change in the UI. This behavior will also be in line with how subscriptions updates/creates are handled
- Blocked any client update for complimentary subscription. We should prevent non authenticated clients from upgrading/subscribing themselves to "complimentary" plan.
2020-01-27 12:34:22 +07:00
..
lib Added "complimentary" subscription handling (#118) 2020-01-27 12:34:22 +07:00
test Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.eslintrc.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
index.js Added "complimentary" subscription handling (#118) 2020-01-27 12:34:22 +07:00
package.json Published new versions 2020-01-22 12:54:34 +07:00