Skip to content

Commit 5f75276

Browse files
committed
Add log to compose-payment
1 parent d297f3b commit 5f75276

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/billing/cloudpayments.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,16 @@ userId: ${userId}`
185185
return;
186186
}
187187

188+
this.handleSendingToTelegramError(telegram.sendMessage(`✅ [Billing / Compose payment]
189+
190+
card link operation: ${isCardLinkOperation}
191+
amount: ${+tariffPlan.monthlyCharge} RUB
192+
last charge date: ${workspace.lastChargeDate?.toISOString()}
193+
next payment date: ${nextPaymentDate.toISOString()}
194+
workspace id: ${workspace._id.toString()}
195+
debug: ${workspace.isDebug}`
196+
, TelegramBotURLs.Money));
197+
188198
res.send({
189199
invoiceId,
190200
plan: {

0 commit comments

Comments
 (0)