Skip to content

Commit 1e6cf10

Browse files
committed
Merge branch 'fix/payments-logs' into stage
2 parents fa97d84 + 2254176 commit 1e6cf10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/billing/cloudpayments.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ userId: ${userId}`
290290
status: BusinessOperationStatus.Pending,
291291
payload: {
292292
workspaceId: workspace._id,
293-
amount: +body.Amount * PENNY_MULTIPLIER,
293+
amount: +body.Amount,
294294
currency: body.Currency,
295295
userId: member._id,
296296
tariffPlanId: plan._id,
@@ -544,7 +544,7 @@ sum: ${data.cloudPayments?.recurrent.amount}${body.Currency}`
544544

545545
this.handleSendingToTelegramError(telegram.sendMessage(`✅ [Billing / Pay] New payment
546546
Transaction details:
547-
amount: ${+body.Amount * PENNY_MULTIPLIER}
547+
amount: ${+body.Amount}
548548
currency: ${body.Currency}
549549
next payment date: ${data.cloudPayments?.recurrent.startDate}
550550
workspace id: ${workspace._id}
@@ -664,7 +664,7 @@ subscription id: ${body.SubscriptionId}`
664664

665665
this.handleSendingToTelegramError(telegram.sendMessage(`✅ [Billing / Recurrent] New recurrent transaction
666666
Transaction details:
667-
amount: ${+body.Amount * PENNY_MULTIPLIER}
667+
amount: ${+body.Amount}
668668
currency: ${body.Currency}
669669
next payment date: ${body.NextTransactionDate}
670670
workspace id: ${body.AccountId}

0 commit comments

Comments
 (0)