I am using to integrate mercadopago a laravel a package of link and configure the button and when configuring the url of notifications in Mercadopago throws me the following error:
The entered URL does not respond to a correct HTTP status. You must answer 200 or 201.
The url is: link
In the route file I have:
Route::get('notifications', 'HomeController@notificationsMP');
And the method is:
public function notificationsMP(Request $r) {
return header("HTTP/1.1 200 OK");
return \Response::json(['HTTP/1.1 200 OK'], 200);
}
If there is another package that you recommend or how to implement mercadopago directly from your documentation (without packages), welcome it.