Answer the question
In order to leave comments, you need to log in
How to send a notification from Ya.Money?
Yandex.Money - after payment - an HTTP notification about an incoming payment is configured.
There was a site on pure php - everything worked.
Moved to laravel 5.2 - unable to accept notification.
those. in the address bar I prescribe site.ru/ypay? ... here are all the parameters ... - and everything works,
but when Yandex sends a notification - it does not work.
in laravel the router is written like this: Route::any('/yres','[email protected]');
I think it's in the format of the headers from Yandex and the protection of laravela - how to win?
Answer the question
In order to leave comments, you need to log in
What method does it send? POST? Then you need to remove the csrf check. Read the documentation laravel.su/docs/5.0/routing#csrf-protection
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question