This commit is contained in:
caf 2023-04-26 10:29:58 +04:00
parent 08c4bdb12d
commit 841f9db298
4 changed files with 6 additions and 3 deletions

View File

@ -298,7 +298,7 @@ export class OrdersComponent implements OnInit {
{
method: 'getPaymentData',
params: {
system_id: environment.systemId,
system_id: this.order[0].type == 'selfServiceTerminalOrder'? environment.selfServiceSystemId : environment.systemId,
order_id: String(this.order[0].external_id),
},
},
@ -310,7 +310,7 @@ export class OrdersComponent implements OnInit {
{
method: 'getPaymentStatus',
params: {
system_id: environment.systemId,
system_id: this.order[0].type == 'selfServiceTerminalOrder'? environment.selfServiceSystemId : environment.systemId,
order_id: String(this.order[0].external_id),
},
},
@ -354,7 +354,7 @@ export class OrdersComponent implements OnInit {
method: 'cancelPayment',
params: {
payment_request_id,
system_id: environment.systemId,
system_id: this.order[0].type == 'selfServiceTerminalOrder'? environment.selfServiceSystemId : environment.systemId,
},
},
RpcService.authService,

View File

@ -2,4 +2,5 @@ export const environment = {
production: true,
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg.mydatahosting.ru/admin_api',
systemId: 'd0b89b219e1feb3d7',
selfServiceSystemId: 'pFBpATH59mFJZbuuHw',
};

View File

@ -2,5 +2,6 @@ export const environment = {
production: true,
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg-test.mydatahosting.ru/api',
systemId: 'dfe16ca16a3598b812',
selfServiceSystemId: 'pFBpATH59mFJZbuuHw',
};

View File

@ -6,6 +6,7 @@ export const environment = {
production: false,
appSelfDeliveryEndPoint: 'http://localhost:4200/api',
systemId: 'd0b89b219e1feb3d7',
selfServiceSystemId: 'pFBpATH59mFJZbuuHw',
};
/*