File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ This server synchronizes your Stripe account to a Postgres database. It can be a
49
49
- [ ] ` customer.source.updated `
50
50
- [x] ` customer.subscription.created ` 🟢
51
51
- [x] ` customer.subscription.deleted ` 🟢
52
+ - [x] ` customer.subscription.paused ` 🟢
53
+ - [x] ` customer.subscription.pending_update_applied ` 🟢
54
+ - [x] ` customer.subscription.pending_update_expired ` 🟢
55
+ - [x] ` customer.subscription.resumed ` 🟢
52
56
- [x] ` customer.subscription.updated ` 🟢
53
57
- [x] ` customer.updated ` 🟢
54
58
- [x] ` invoice.created ` 🟢
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ export default async function routes(fastify: FastifyInstance) {
50
50
}
51
51
case 'customer.subscription.created' :
52
52
case 'customer.subscription.deleted' : // Soft delete using `status = canceled`
53
+ case 'customer.subscription.paused' :
54
+ case 'customer.subscription.pending_update_applied' :
55
+ case 'customer.subscription.pending_update_expired' :
56
+ case 'customer.subscription.resumed' :
53
57
case 'customer.subscription.updated' : {
54
58
const subscription = event . data . object as Stripe . Subscription
55
59
await upsertSubscriptions ( [ subscription ] )
You can’t perform that action at this time.
0 commit comments