#kryze_
1 messages · Page 1 of 1 (latest)
Can you elaborate on the question?
We can really just answer questions about our API usage directly. Can't advise on security/safety practices in other frameworks really
On my shop application, I listen to webhook for expired order, confirmed one...
When I put nothing I got
ActionController::InvalidAuthenticityToken (Can't verify CSRF token authenticity.):
Online they said that putting this line doesn't put a risk since there is prevention with
event = Stripe::Webhook.construct_event(
payload, sig_header, endpoint_secret
)
Oh I understand
Yeah you'd need to disable csrf protection for that endpoint
payload, sig_header, endpoint_secret
)```
verifies the request is comfing from Stripe
Okay so there is no risk doing it ?