A
A
Anton Peat2014-08-20 15:50:50
PHP
Anton Peat, 2014-08-20 15:50:50

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.
8abf0f507eec4d8fb210fba20b374e64.png
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

1 answer(s)
D
Dmitry Skogorev, 2014-08-20
@EnterSandman

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 question

Ask a Question

731 491 924 answers to any question