Ghost/ghost/members-stripe-service
Fabien O'Carroll e5b0cf8686 Added basic support for coupons
refs https://github.com/TryGhost/Team/issues/1090

This allows us to create Stripe Coupons and use them with Stripe
Checkout from the members-api module whilst we develop the Offers
feature.
2021-09-28 13:39:04 +02:00
..
lib Added basic support for coupons 2021-09-28 13:39:04 +02:00
test Renamed stripe-service package to members-stripe-service 2021-09-22 18:00:47 +05:30
.eslintrc.js Renamed stripe-service package to members-stripe-service 2021-09-22 18:00:47 +05:30
index.js Renamed stripe-service package to members-stripe-service 2021-09-22 18:00:47 +05:30
LICENSE Renamed stripe-service package to members-stripe-service 2021-09-22 18:00:47 +05:30
package.json Update dependency mocha to v9.1.2 2021-09-28 07:42:20 +00:00
README.md Renamed stripe-service package to members-stripe-service 2021-09-22 18:00:47 +05:30
yarn.lock Renamed stripe-service package to members-stripe-service 2021-09-22 18:00:47 +05:30

Payment Service

Install

npm install @tryghost/payment-service --save

or

yarn add @tryghost/payment-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.

Run

  • yarn dev

Test

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