From 7d06fc44039a727a5366f6af79078884a5019703 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sun, 1 Oct 2023 18:14:24 +0200 Subject: [PATCH] fix: do not show subscription cancelled noti --- routes/webhooks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/webhooks.php b/routes/webhooks.php index 2abba2c4d..d2857c75e 100644 --- a/routes/webhooks.php +++ b/routes/webhooks.php @@ -327,7 +327,7 @@ } if ($alreadyCancelAtPeriodEnd !== $cancelAtPeriodEnd) { if ($cancelAtPeriodEnd) { - send_internal_notification('Subscription cancelled at period end for team: ' . $subscription->team->id); + // send_internal_notification('Subscription cancelled at period end for team: ' . $subscription->team->id); } else { send_internal_notification('Subscription resumed for team: ' . $subscription->team->id); } @@ -346,7 +346,7 @@ 'stripe_invoice_paid' => false, 'stripe_trial_already_ended' => true, ]); - send_internal_notification('Subscription cancelled: ' . $subscription->team->id); + // send_internal_notification('Subscription cancelled: ' . $subscription->team->id); break; case 'customer.subscription.trial_will_end': $customerId = data_get($data, 'customer');