Answer the question
In order to leave comments, you need to log in
How to set up synchronization of your php script with 1C Accounting?
We have: 1C Enterprise Accounting Edition 3.0, platform 8.x
In 1C, in the "Administration / Setting up an exchange with an online store" set:
My script so far looks like this:
<?php
$type = $_REQUEST['type'];
$mode = $_REQUEST['mode'];
file_put_contents('DEBUG.TXT', var_export($_REQUEST, true) . "\n\n---------\n\n", FILE_APPEND);
if ($mode == 'checkauth') {
echo "success\nkey_name\n1234";
exit();
}
echo 'success';
exit();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question