Answer the question
In order to leave comments, you need to log in
How to get data from the Yandex.money payment form?
To automate the processing of orders, I need an administrator ...
I attached a link to my site to Yandex.wallet.
Now on this very site, how do I get data like
$_POST['operation_id'],
$_POST['ammount'] and so on and perform the actions I need?
Code, at the top of the page, like
if (isset($_POST['operation_id']))
{
print "Оплачено";
print "id операции:".$_POST['operation_id'];
}
will it be enough?
Answer the question
In order to leave comments, you need to log in
Well, put this in the index.php of the root and hit test. just don't see anything,
save $_POST['operation_id'] to a file to make sure the data has arrived,
but in general, you need to check the incoming data with a signature. and then you never know, I will find your script and I will buy goods for free
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question