Ghost/ghost/donations
Ronald Langeveld e8e1b8ea2f
Added donation message to Stripe and Email (#20828)
ref PLG-160

- Refactored donation handling logic to be processed within the
`checkout.session.completed` webhook event.
- Added support for capturing and storing donation messages from Stripe
sessions.
- Integrated donation messages into the email notifications sent to
staff.
- Added database integration.
- Removed redundant donation logic from the invoice.payment_succeeded
webhook, since custom fields isn't supported.
- Updated and added new tests

---------

Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
2024-08-28 21:08:42 +09:00
..
src Added donation message to Stripe and Email (#20828) 2024-08-28 21:08:42 +09:00
test
.eslintrc.js
package.json Update dependency typescript to v5.4.5 2024-04-16 09:08:58 +02:00
README.md
tsconfig.json Deduplicated TypeScript config 2023-08-09 18:27:56 +02:00

Donations

Usage

Develop

This is a monorepo package.

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