duncanmcclean / simple-commerce

A simple, yet powerful e-commerce addon for Statamic.
https://statamic.com/addons/duncanmcclean/simple-commerce
Other
143 stars 37 forks source link

Exclude webhook routes from CSRF protection #875

Closed duncanmcclean closed 1 year ago

duncanmcclean commented 1 year ago

This pull request excludes gateway webhook routes from Laravel's CSRF protection middleware.

Currently, it's recommended that users add gateway URLs to the VerifyCsrfToken middleware in their app. However, we can do this inside Simple Commerce so no action is required by the user.

github-actions[bot] commented 1 year ago

Released as part of v5.1.0.