Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
integrationb24.php
1<?php
3
4
5class IntegrationB24 extends Base
6{
7 public function getCode()
8 {
9 return 'bitrix.eshop';
10 }
11
12 public function getClientId()
13 {
14 return 'app.5e26f4d9b86957.52282815';
15 }
16
17 public function getClientSecret()
18 {
19 return 'SLAIylxloCY7pu91VbaYzNaTeh75DAdSG16sjy8uM5Xs0vy4dl';
20 }
21
22 public function getAppUrl()
23 {
24 $server = \Bitrix\Main\Application::getInstance()
25 ->getContext()
26 ->getServer();
27
28 return $server->get('HTTP_ORIGIN').'/bitrix/services/sale/b24integration/push.php';
29 }
30}