Yandex.Cash and Bitrix, how to connect?

On the website connected to the cash register.
all ID correct and combat.
payment does not pass.
response support:
The payment failed because your shop on overgrown checkOrder returned an empty response.
Make sure that the template response to queries there are no spaces or invalid characters.

Log:

[2020-01-20T22:33:37.284+03:00] INFO [int-ssl-services19] [POST/layout_sevices/shop_info/paymentApproval] [22ed1dcd4ca0c1c6] [] [CommonHttpClient] sendHttpRequest(): requestData=orderNumber=574
orderSumAmount=192.00
shopArticleId=1647882
cms_name=1C-Bitrix
paymentPayerCode=42000400000002
cdd_rrn=002019067501
the paymenttype parameter=AC
requestDatetime=2020-01-20T22:33:37.283+03:00
cps_user_country_code=EN
cdd_response_code=00
orderCreatedDatetime=2020-01-20T22:33:22.286+03:00
action=checkOrder
BX_HANDLER=YANDEX
shopId=658273
scid=1308579
shopSumBankPaycash=1001
BuyButton=To Pay
shopSumCurrencyPaycash=643
rebillingOn=false
orderSumBankPaycash=1001
orderSumCurrencyPaycash=643
unilabel=25b81429-000f-5000-8000-10ecf6950174
cdd_pan_mask=427638/3627
customerNumber=1
environment=Live
invoiceId=2002241710576
cdd_auth_code=208938
BX_PAYSYSTEM_CODE=10
shopSumAmount=185.28
md5=ECB6650EAFC1317B76685682F5830DA4

[2020-01-20T22:33:37.426+03:00] INFO [int-ssl-services19] [POST/layout_sevices/shop_info/paymentApproval] [22ed1dcd4ca0c1c6] [] [CommonHTTPSCAConnector] 141 ms for https://www.zolotoygus.ru/bitrix/tools/sale_ps_res...

[2020-01-20T22:33:37.426+03:00] WARN [int-ssl-services19] [POST/layout_sevices/shop_info/paymentApproval] [22ed1dcd4ca0c1c6] [] [CommonHttpClient] Response is not an XML: response=

In this situation, the funds were sent back to the Bank customer.

file /bitrix/tools/sale_ps_result.php looks:
<?
use \Bitrix\Main\Application;
use \Bitrix\Sale\PaySystem;

define("STOP_STATISTICS", true);
define('NO_AGENT_CHECK', true);
define('NOT_CHECK_PERMISSIONS', true);
define("DisableEventsCheck", true);
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");

global $APPLICATION;

if (CModule::IncludeModule("sale"))
{
 $context = Application::getInstance()->getContext();
 $request = $context->getRequest();

 $item = PaySystem\Manager::searchByRequest($request);
 if ($item !== false)
{
 $service = new PaySystem\Service($item);
 if ($service instanceof PaySystem\Service)
 $result = $service->processRequest($request);
}
}

$APPLICATION->FinalActions();
die();


does anyone have some working sample files
bitrix/tools/sale_ps_fail.php
bitrix/tools/sale_ps_success.php
bitrix/tools/sale_ps_result.php

or is the problem actually something else?
thanks in advance for hints.
April 4th 20 at 13:07
0 answer

Find more questions by tags 1C-BitrixYandex.Kassa