Ghost/ghost/stripe/lib
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
..
events Expose Stripe events in package 2023-06-14 08:18:19 -04:00
StripeAPI.js Added donation message to Stripe and Email (#20828) 2024-08-28 21:08:42 +09:00
StripeMigrations.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
StripeService.js Wired up additional payment types with labs flag 2024-04-04 23:13:10 +07:00
WebhookController.js Added donation message to Stripe and Email (#20828) 2024-08-28 21:08:42 +09:00
WebhookManager.js Fixed optional syntax style for jsdoc 2022-10-16 14:48:05 +07:00