Ghost/ghost/members-api
Fabien O'Carroll 88b9f25541 Added initial subscription support with stripe to Members API (#10460)
These changes introduce a new "service" to the members api, which handles getting and creating subscriptions.

This is wired up to get subscription information when creating tokens, and attaching information to the token, so that the Content API can allow/deny access. 

Behind the subscription service we have a Stripe "payment processor", this holds the logic for creating subscriptions etc... in Stripe.

The logic for getting items out of stripe uses a hash of the relevant data as the id to search for, this allows us to forgo keeping stripe data in a db, so that this feature can get out quicker.
2019-05-07 17:35:17 +02:00
..
static Refactored auth pages for future flows (#10458) 2019-05-07 17:35:17 +02:00
subscriptions Added initial subscription support with stripe to Members API (#10460) 2019-05-07 17:35:17 +02:00
cookies.js Added initial subscription support with stripe to Members API (#10460) 2019-05-07 17:35:17 +02:00
index.js Added initial subscription support with stripe to Members API (#10460) 2019-05-07 17:35:17 +02:00
tokens.js Added initial subscription support with stripe to Members API (#10460) 2019-05-07 17:35:17 +02:00
users.js Added initial subscription support with stripe to Members API (#10460) 2019-05-07 17:35:17 +02:00
util.js