H
H
herooid2020-08-27 08:13:15
PHP
herooid, 2020-08-27 08:13:15

Why doesn't a request come from Bitrix24 after product update?

Please tell me: I created an "outgoing webhook" subscribed to the "Product update (ONCRMPRODUCTUPDATE)" event, but when the price/quantity/name, etc. changes, no request with data comes to my script. The webhook subscribed to create a product works fine.

Site on http.
I receive data like this:

write_log (json_encode($_REQUEST));

function write_log ($text) {
  $filed = "logs.txt";
  $rez = file_get_contents($filed);
  $rez .= "\r\n" . $text;
  file_put_contents($filed, $rez);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
herooid, 2020-09-18
@herovoid

Found the answer in tech support. It turned out that this is a temporary bug, and now a request has been created in Bitrix to the development department to fix this problem.
"The updated product card is opened through the store, even if you enter it from the CRM. Since in reality the product is updated in the store, the CRMPRODUCT event does not see it" - TP's comment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question