Answer the question
In order to leave comments, you need to log in
Why, after a successful payment through the Yandex Checkout module, does the payment flag on the site with cms 1C-Bitrix not change?
Hello.
There is a payment system
Custom checkout. The payment is done like this:
$paymentCollection = $order->getPaymentCollection();
foreach ($paymentCollection as $item) {
$arResult["PAYMENT"] = $item->getPaymentSystemName();
$service = Sale\PaySystem\Manager::getObjectById($item->getPaymentSystemId());
$context = \Bitrix\Main\Application::getInstance()->getContext();
$initResult = $service->initiatePay($item, $context->getRequest(), \Bitrix\Sale\PaySystem\BaseServiceHandler::STRING);
$arResult["PAYMENT_HTML"] = $initResult->getTemplate();
}
Answer the question
In order to leave comments, you need to log in
In the settings of the Online Store module, there is a Process Automation tab.
An item with a change in the status of the order after receipt of the full cost of payment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question