gocardless webhook 419 Authentication Timeout erro

2019-08-30 02:09发布

问题:

I'm trying to integrate gocardless webhook in my website. I'm developing my site in laravel 5.5. Right now i'm following their instrution. But getting an error 419 Authentication Timeout. I did exactly as followed from their documentation. https://developer.gocardless.com/getting-started/api/staying-up-to-date-with-webhooks/

I created a POST route in my web.php file Route::post('/test', 'GocardlessWebhookController@remote');

Then i put my secret token in my env file. In the controller i copy paste the same code from that site. Then i trigger the webhook from sandbox test environment.

Can anyone help me out?