feat: bust plan cache on customer.subscription.updated

This commit is contained in:
Ovidiu U
2026-04-23 10:31:07 +01:00
parent a39d4b1b94
commit 25b79f095b
2 changed files with 14 additions and 1 deletions

View File

@@ -24,7 +24,8 @@ final class HandleStripeWebhook
}
match ($type) {
'customer.subscription.created' => $this->bustPlanCache($user),
'customer.subscription.created',
'customer.subscription.updated' => $this->bustPlanCache($user),
default => null,
};
}