Ghost/ghost/payments
Fabien O'Carroll dbf564d137 Created Stripe Coupons when Offers are created
refs https://github.com/TryGhost/Team/issues/1166

We've moved the Stripe Coupon creation out of the Offers module as part
of the work for Stripe disconnect, so we have to make sure that we are
still creating coupons when an Offer is created.
2021-10-21 15:40:55 +02:00
..
lib Created Stripe Coupons when Offers are created 2021-10-21 15:40:55 +02:00
test Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
.eslintrc.js Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
index.js Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
LICENSE Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00
package.json Created Stripe Coupons when Offers are created 2021-10-21 15:40:55 +02:00
README.md Added @tryghost/members-payments module 2021-10-21 15:40:55 +02:00

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.

  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