mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
5db41169aa
refs https://github.com/TryGhost/Team/issues/1166 This is a new module which will eventually handle all payment related things. This allows the Offers module to focus exclusively on the Ghost concepts, and the Payments module will handle the association between Offer & Stripe Coupon, Tier & Stripe Product, Cadence & Stripe Price. This decoupling allows us to not have to consider the lack of Stripe data for an Offer, which is the case after a Stripe Disconnect. Instead all of the population/repopulation/lazy-creating can be handled here.
440 B
440 B
Payments
Install
npm install @tryghost/payments --save
or
yarn add @tryghost/payments
Usage
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests