diff --git a/README.md b/README.md index 81528aee3..6c416c585 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,11 @@ This server synchronizes your Stripe account to a Postgres database. It can be a - [x] `invoice.payment_failed` 🟢 - [x] `invoice.payment_succeeded` 🟢 - [x] `invoice.sent` 🟢 -- [x] `invoice.upcoming` 🟢 +- [x] `invoice.upcoming` 🔴 - Event has no id and cannot be processed - [x] `invoice.updated` 🟢 +- [x] `invoice.overdue` 🟢 +- [x] `invoice.overpaid` 🟢 +- [x] `invoice.will_be_due` 🟢 - [x] `invoice.voided` 🟢 - [ ] `issuing_authorization.request` - [ ] `issuing_card.created` diff --git a/src/routes/webhooks.ts b/src/routes/webhooks.ts index 0e7375edc..f426779d1 100644 --- a/src/routes/webhooks.ts +++ b/src/routes/webhooks.ts @@ -82,7 +82,9 @@ export default async function routes(fastify: FastifyInstance) { case 'invoice.payment_action_required': case 'invoice.payment_failed': case 'invoice.payment_succeeded': - case 'invoice.upcoming': + case 'invoice.overdue': + case 'invoice.overpaid': + case 'invoice.will_be_due': case 'invoice.sent': case 'invoice.voided': case 'invoice.marked_uncollectible':