Не работает интеграция с cs-Cart? Возникают сложности в настройке интеграции? Установите последнюю версию OneBox - мы исправили там все возможные ошибки!
Установить последнюю версию OneBox
Set up integration https://stylesalon.crm-onebox.com/admin/shop/integrations/cscart-1/control/
Added action to import orders [file]4336[/file]
But it shows error and orders are not imported
I checked the authorization data - they work [file]4337[/file]
Through php curl, instead of json, it gives us a page of the form: <h1><span data-translate="checking_browser">Checking your browser before accessing</span> stylesalon.com.ua.</h1> <div id="no-cookie-warning" class="cookie-warning" data-translate="turn_on_cookies" style="display:none"> <p data-translate="turn_on_cookies" style="color:#bd2426;">Please enable Cookies and reload the page.</p> </div> <p data-translate="process_is_automatic">This process is automatic. Your browser will redirect to your requested content shortly.</p> <p data-translate="allow_5_secs" id="cf-spinner-allow-5-secs" >Please allow up to 5 seconds…</p> <p data-translate="redirecting" id="cf-spinner-redirecting" style="display:none">Redirecting…</p> and so on
Through php curl, instead of json, it gives us a page of the form:
<h1><span data-translate="checking_browser">Checking your browser before accessing</span> stylesalon.com.ua.</h1>
<div id="no-cookie-warning" class="cookie-warning" data-translate="turn_on_cookies" style="display:none">
<p data-translate="turn_on_cookies" style="color:#bd2426;">Please enable Cookies and reload the page.</p>
</div>
<p data-translate="process_is_automatic">This process is automatic. Your browser will redirect to your requested content shortly.</p>
<p data-translate="allow_5_secs" id="cf-spinner-allow-5-secs" >Please allow up to 5 seconds…</p>
<p data-translate="redirecting" id="cf-spinner-redirecting" style="display:none">Redirecting…</p>
and so on
you need to play around, you can try to do it yourself through curl. The script is like this $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $connection['url'].'/api.php?_d=statuses&items_per_page='); curl_setopt( $ch, CURLOPT_USERPWD, "{$connection['login']}:{$connection['password']}" ); $response = curl_exec($ch); curl_close($ch); print $response;
you need to play around, you can try to do it yourself through curl. The script is like this
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $connection['url'].'/api.php?_d=statuses&items_per_page=');
curl_setopt(
$ch, CURLOPT_USERPWD, "{$connection['login']}:{$connection['password']}"
);
$response = curl_exec($ch);
curl_close($ch);
print $response;
I tested, when adding the User-Agent to the request - it works. How long will it take to finalize to make an option for choosing an authorization method?
I tested, when adding the User-Agent to the request - it works. How long will it take to finalize to make an option for choosing an authorization method?
Well, according to the text of the messages, it was already clear that this was some kind of protection against ddos, current usually these restrictions are immediately removed for links that knock on the api
Well, according to the text of the messages, it was already clear that this was some kind of protection against ddos, current usually these restrictions are immediately removed for links that knock on the api
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up