Ghost/ghost/stripe
Rishabh 2ac24b9d4c Handled newsletter preference for paid members signup
refs https://github.com/TryGhost/Team/issues/1490

With multiple newsletters, paid members can choose their newsletter preference at the time of signup via Portal. This change handles the newsletter preference via stripe checkout metadata and stores it against the member on completing signup.
2022-04-13 15:02:58 +05:30
..
lib Handled newsletter preference for paid members signup 2022-04-13 15:02:58 +05:30
test Fixed failing migration requests when client runs in a test env 2022-04-05 21:36:22 +12:00
.eslintrc.js Removed @babel/eslint-parser, set ecmaVersion instead 2022-02-15 12:30:17 +00:00
index.js Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00
LICENSE Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00
package.json Published new versions 2022-04-05 17:40:06 +08:00
README.md Updated README 2022-01-31 18:17:45 +02:00
yarn.lock Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00

Stripe Service

Install

npm install @tryghost/members-stripe-service --save

or

yarn add @tryghost/members-stripe-service

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests