File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { InitPaymentRequest } from './dto'
2222@Injectable ( )
2323export class PaymentService {
2424 private readonly HOSTS_APP : string
25- private readonly SUBSCRIPTION_PRICE = 1
25+ private readonly SUBSCRIPTION_PRICE = 349
2626
2727 public constructor (
2828 private readonly prismaService : PrismaService ,
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export class SchedulerService {
115115
116116 const result = await this . yookassaService . createPayment ( {
117117 amount : {
118- value : 1 ,
118+ value : payment . amount ,
119119 currency : CurrencyEnum . RUB
120120 } ,
121121 capture : true ,
@@ -128,7 +128,7 @@ export class SchedulerService {
128128 items : [
129129 {
130130 amount : {
131- value : 1 ,
131+ value : payment . amount ,
132132 currency : CurrencyEnum . RUB
133133 } ,
134134 description : 'Ежемесячная подписка' ,
You can’t perform that action at this time.
0 commit comments