Added display of credits

This commit is contained in:
Dries Augustyns
2025-12-05 07:59:47 +01:00
parent 8c348d3580
commit 04a64ef83a
4 changed files with 62 additions and 1 deletions
+5
View File
@@ -276,6 +276,11 @@ export class Webhooks {
},
});
// add 1 eur/usd in credit in return for onboarding fee
await stripe.customers.update(customerId, {
balance: -100,
});
signale.success(`[WEBHOOK] Checkout completed for project ${projectId}`);
// Send notification about subscription started