dev #14173
This commit is contained in:
parent
08c4bdb12d
commit
841f9db298
@ -298,7 +298,7 @@ export class OrdersComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
method: 'getPaymentData',
|
method: 'getPaymentData',
|
||||||
params: {
|
params: {
|
||||||
system_id: environment.systemId,
|
system_id: this.order[0].type == 'selfServiceTerminalOrder'? environment.selfServiceSystemId : environment.systemId,
|
||||||
order_id: String(this.order[0].external_id),
|
order_id: String(this.order[0].external_id),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -310,7 +310,7 @@ export class OrdersComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
method: 'getPaymentStatus',
|
method: 'getPaymentStatus',
|
||||||
params: {
|
params: {
|
||||||
system_id: environment.systemId,
|
system_id: this.order[0].type == 'selfServiceTerminalOrder'? environment.selfServiceSystemId : environment.systemId,
|
||||||
order_id: String(this.order[0].external_id),
|
order_id: String(this.order[0].external_id),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -354,7 +354,7 @@ export class OrdersComponent implements OnInit {
|
|||||||
method: 'cancelPayment',
|
method: 'cancelPayment',
|
||||||
params: {
|
params: {
|
||||||
payment_request_id,
|
payment_request_id,
|
||||||
system_id: environment.systemId,
|
system_id: this.order[0].type == 'selfServiceTerminalOrder'? environment.selfServiceSystemId : environment.systemId,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
RpcService.authService,
|
RpcService.authService,
|
||||||
|
|||||||
@ -2,4 +2,5 @@ export const environment = {
|
|||||||
production: true,
|
production: true,
|
||||||
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg.mydatahosting.ru/admin_api',
|
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg.mydatahosting.ru/admin_api',
|
||||||
systemId: 'd0b89b219e1feb3d7',
|
systemId: 'd0b89b219e1feb3d7',
|
||||||
|
selfServiceSystemId: 'pFBpATH59mFJZbuuHw',
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2,5 +2,6 @@ export const environment = {
|
|||||||
production: true,
|
production: true,
|
||||||
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg-test.mydatahosting.ru/api',
|
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg-test.mydatahosting.ru/api',
|
||||||
systemId: 'dfe16ca16a3598b812',
|
systemId: 'dfe16ca16a3598b812',
|
||||||
|
selfServiceSystemId: 'pFBpATH59mFJZbuuHw',
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -6,6 +6,7 @@ export const environment = {
|
|||||||
production: false,
|
production: false,
|
||||||
appSelfDeliveryEndPoint: 'http://localhost:4200/api',
|
appSelfDeliveryEndPoint: 'http://localhost:4200/api',
|
||||||
systemId: 'd0b89b219e1feb3d7',
|
systemId: 'd0b89b219e1feb3d7',
|
||||||
|
selfServiceSystemId: 'pFBpATH59mFJZbuuHw',
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user