echo '<form method="POST" action="https://money.yandex.ru/quickpay/confirm.xml">
<input type="hidden" name="receiver" value="41001874634804">
<input type="hidden" name="formcomment" value="Пополнение счета на сайте www.ebasta.tv">
<input type="hidden" name="short-dest" value="Пополнение счета на сайте www.ebasta.tv">
<input type="hidden" name="label" value="'.$bill_id.'">
<input type="hidden" name="quickpay-form" value="shop">
<input type="hidden" name="targets" value="Оплата счета #'.$bill_id.'">
<input type="hidden" name="sum" value="'.$amount.'" data-type="number" >
</form>';
Там говорят, что высылается http уведомление http://api.yandex.ru/money/doc/dg/referenc...le-notification
А я не понимаю, как его правильно принять
Пробую так:
if(isset($_POST['notification_type'])){
$str=$_POST['notification_type'] . '&' .
$_POST['operation_id'] . '&' .
$_POST['amount'] . '&' .
$_POST['currency'] . '&' .
$_POST['datetime'] . '&' .
$_POST['sender'] . '&' .
$_POST['codepro'] . '&секретный код со страницы https://sp-money.yandex.ru/myservices/online.xml&' .
$_POST['label'];
file_put_contents('out.txt', $str);
}
Но в файл ничего не приходит. Хелп ми