mercredi 30 mai 2018

Instamojo Payment Integration - Webhook Issue

The response from the instamojo api is successfully extracted but the issue is that, the webhook service is not working. In this I've provided a webhook url in request and i want to exclude the CSRF verification, for that I've included Except array with 'instamojo/*' in middleware but still no use.

class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        'instamojo/*',
    ];
} 

The current Route

Route::post('webhook','HomeController@webhook');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire