Ghost/ghost/stripe
Rishabh 52e3ae2058 Handled mapping offer to subscription for free trials
refs https://github.com/TryGhost/Team/issues/1726

Free trial offers don't have a Stripe coupon created for them, as the trial is directly added to checkout session. So for mapping a subscription to offer, we pass the offer id directly from checkout metadata to link the subscription in backend with right offer data. This also handles the case where the offer id against a subscription can get overwritten for a subsequent subscription event, as the sub event from Stripe doesn't has the trial offer info.

- handles storing an offer id for a subscription
- updates member detail in Admin to show the offer info for a subscription
2022-08-11 12:03:38 +05:30
..
lib Handled mapping offer to subscription for free trials 2022-08-11 12:03:38 +05:30
test Fixed trial days validation for stripe checkout 2022-08-09 14:14:22 +05:30
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
index.js Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00
package.json Added replies/likes count and limited replies to comments (#15206) 2022-08-10 16:12:35 +02:00