File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,18 @@ This server synchronizes your Stripe account to a Postgres database. It can be a
53
53
- [x] ` customer.subscription.pending_update_applied ` 🟢
54
54
- [x] ` customer.subscription.pending_update_expired ` 🟢
55
55
- [x] ` customer.subscription.resumed ` 🟢
56
+ - [x] ` customer.subscription.trial_will_end ` 🟢
56
57
- [x] ` customer.subscription.updated ` 🟢
57
58
- [x] ` customer.updated ` 🟢
58
59
- [x] ` invoice.created ` 🟢
59
60
- [x] ` invoice.deleted ` 🟢
60
61
- [x] ` invoice.finalized ` 🟢
62
+ - [x] ` invoice.finalization_failed ` 🟢
61
63
- [x] ` invoice.paid ` 🟢
64
+ - [x] ` invoice.payment_action_required ` 🟢
62
65
- [x] ` invoice.payment_failed ` 🟢
63
66
- [x] ` invoice.payment_succeeded ` 🟢
67
+ - [x] ` invoice.upcoming ` 🟢
64
68
- [x] ` invoice.updated ` 🟢
65
69
- [ ] ` issuing_authorization.request `
66
70
- [ ] ` issuing_card.created `
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export default async function routes(fastify: FastifyInstance) {
55
55
case 'customer.subscription.paused' :
56
56
case 'customer.subscription.pending_update_applied' :
57
57
case 'customer.subscription.pending_update_expired' :
58
+ case 'customer.subscription.trial_will_end' :
58
59
case 'customer.subscription.resumed' :
59
60
case 'customer.subscription.updated' : {
60
61
const subscription = event . data . object as Stripe . Subscription
@@ -64,9 +65,12 @@ export default async function routes(fastify: FastifyInstance) {
64
65
case 'invoice.created' :
65
66
case 'invoice.deleted' :
66
67
case 'invoice.finalized' :
68
+ case 'invoice.finalization_failed' :
67
69
case 'invoice.paid' :
70
+ case 'invoice.payment_action_required' :
68
71
case 'invoice.payment_failed' :
69
72
case 'invoice.payment_succeeded' :
73
+ case 'invoice.upcoming' :
70
74
case 'invoice.updated' : {
71
75
const invoice = event . data . object as Stripe . Invoice
72
76
await upsertInvoices ( [ invoice ] )
You can’t perform that action at this time.
0 commit comments