jeudi 8 novembre 2018

Stripe Webhooks return 302 on laravel application, using spatie webhook

I am attempting to set up stripes webhooks in my laravel application. I have pulled in spatie's webhook package to help out, link below.

https://github.com/spatie/laravel-stripe-webhooks

My endpoint on stripe looks like

https://myapp.ca/stripe/webhook

Dev

my routes

Route::stripeWebhooks('stripe/webhook');

I have included the key in webhook config,

and included in the verifyCsrfToken

'stripe/*',

When I send a test I get rerouted to the login page with a 302 error. I am working with it on a DO server, not local.

Thank you for your help.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire