L
L
Lenskii2021-04-18 06:25:41
PHP
Lenskii, 2021-04-18 06:25:41

Why does Qiwi notify me with an empty array upon successful payment?

Hello! Finally, I finish the project, set the payment, chose kiwi, and now I’m sitting in agony (
After a successful payment, kiwi, in theory, should send me a post request to the processor (As it is written in the docks ), but, instead, it doesn’t return anything to me (
There is nothing better than displaying his response in the tg of the bot - I did not come up with it, so there is something

.

$a = print_r($_POST,true);
mt($a); // Функция отправки сообщения в телеграм

Maybe I didn’t understand something, maybe I’m blind, or maybe something else, please help in general <3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spartak (Web-StyleStudio), 2021-04-18
@Milovenskii

Because the data from kiwi does not come in the post

$data = json_decode(file_get_contents('php://input'), true);
print_r($data);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question