T
T
Tat622018-08-10 15:44:45
Yii
Tat62, 2018-08-10 15:44:45

How to receive a notification from YandexCheckout API integration?

I can't figure out how to get data from a notification sent to the address specified in the settings. As I understand it, Yandex.Checkout sends a notification in json format with a post request using the callback function. But how to get the content of the notification, how to organize it in the controller. I am writing in yii2. I've been fighting for a few days now. Theoretically, everything is clear, but I don’t understand how to do it in the code. Perhaps this is a stupid question. But I am new to yii2. Perhaps you need to use RestApi. But I don't know how.
Maybe someone will advise something. It can move in any direction. Please, help. I really hope for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kuzmenko, 2018-08-11
@kuzmenkodiman

How to process data received from Yandex.Checkout?
Here is the answer, it worked for me)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question