Ghost/core/server/lib
Fabien O'Carroll 46bf5270df
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-02-07 10:41:39 +01:00
..
common Bumped major test dependencies (#10403) 2019-01-21 18:28:44 +01:00
fs Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
image 🐛 Fixed responsive images for .icos 2019-01-15 17:41:25 +00:00
members Added initial subscription support with stripe to Members API (#10460) 2019-02-07 10:41:39 +01:00
mobiledoc Updated gallery renderer to cope with invalid images 2018-08-31 11:13:24 +01:00
promise Extended sequence utility 2018-10-03 00:17:45 +02:00
security Added Node v10 Support (#10058) 2018-10-30 15:45:51 +07:00
social 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
constants.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
ghost-version.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
request.js Set Ghost user-agent header for got requests (#10424) 2019-01-28 17:01:34 +01:00