Hello!
For example I have a file index.php that contains the submission form:
<form name="payment" method="post" action="https://sci.interkassa.com/" accept-charset="UTF-8">
<input type="hidden" name="ik_co_id" value="51237daa8f2a2d8413000000">
<input type="hidden" name="ik_pm_no" value="ID_4233">
<input type="hidden" name="ik_am" value="1.44">
<input type="hidden" name="ik_desc" value="Payment Description">
<input type="submit" value="Pay">
</form>
After clicking to purchase, the client throws at interkassa, he successfully pays
and he's being transported to my website mysite.ru/success
I want upon successful payment page mysite.ru/success to obtain the data
with interkassa and send the order to the admin of the site.
Actually, the question is how in php to get the data + status plateia?
Ie will be something like this
The resulting data
if (matches the secret key of the payment) {
Write the data in admin area
} else {
echo "Error";
}