How to get the answer with interkassa?

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";
}
July 8th 19 at 11:11
2 answers
July 8th 19 at 11:13
Documentation to read religion does not allow?
https://www.interkassa.com/documentation-api/
July 8th 19 at 11:15
maybe my answer is irrelevant, but I for example couldn't handle it himself, I wrote to tech support via the official group in contact.
Attached the screenshots and everything will work out for me)
now I have read the information at the above link and understand a lot more))
so don't be afraid to ask tech support too)
I agree. I always write on Facebook, if something is unclear. it really definitely turns faster, than waiting on the forum someone will answer - nikita.Stracke commented on July 8th 19 at 11:18

Find more questions by tags Payment systems