Skip to content

Commit 24b637f

Browse files
authored
Merge pull request #1114 from trycompai/main
[comp] Production Deploy
2 parents 420af1e + c583fd0 commit 24b637f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/app/src/app/api/stripe/webhook/slack-notifications.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export async function handleStripeEventNotification(
157157
fields: [
158158
{ label: customerDetails.organizationName, value: clickableEmail },
159159
{ label: amount, value: interval },
160+
{ label: 'Subscription ID', value: subscription.id },
160161
],
161162
}
162163
: {
@@ -165,6 +166,7 @@ export async function handleStripeEventNotification(
165166
fields: [
166167
{ label: customerDetails.organizationName, value: clickableEmail },
167168
{ label: amount, value: interval },
169+
{ label: 'Subscription ID', value: subscription.id },
168170
],
169171
};
170172

@@ -189,6 +191,7 @@ export async function handleStripeEventNotification(
189191
fields: [
190192
{ label: customerDetails.organizationName, value: clickableEmail },
191193
{ label: amount, value: billingInterval },
194+
{ label: 'Subscription ID', value: subscription.id },
192195
],
193196
};
194197

@@ -213,6 +216,7 @@ export async function handleStripeEventNotification(
213216
fields: [
214217
{ label: customerDetails.organizationName, value: clickableEmail },
215218
{ label: `${amount} ${interval}`, value: `Ends ${cancelDate}` },
219+
{ label: 'Subscription ID', value: subscription.id },
216220
],
217221
};
218222

@@ -231,6 +235,7 @@ export async function handleStripeEventNotification(
231235
fields: [
232236
{ label: customerDetails.organizationName, value: clickableEmail },
233237
{ label: 'Reason', value: reason },
238+
{ label: 'Subscription ID', value: subscription.id },
234239
],
235240
};
236241

0 commit comments

Comments
 (0)