Skip to content

Commit 2254176

Browse files
committed
Update amount
1 parent a047258 commit 2254176

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,
@@ -545,7 +545,7 @@ sum: ${data.cloudPayments?.recurrent.amount}${body.Currency}`
545545

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

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

0 commit comments

Comments
 (0)