Relative Content

Tag Archive for phplaravel

Validation excludes specific fields from request data

I’m working on a Laravel project where I’m handling property creation, and I’m facing an issue where specific fields (facilities and additional_facilities) are missing from the validated data even though they are present in the request.

Filament Stripe Webhook failing with 419 Error (Page Expired) despite CSRF exclusion

I’m facing a persistent issue with my filament application after migrating to a new server. The problem specifically occurs when handling Stripe webhooks using a checkout session. Despite multiple configurations and attempts to resolve it, the issue remains unresolved. My application is using a checkout session using a StripeController.php and a custom route. Users can buy an item, directly checkout and then the webhook sends back if the checkout was successfull. But everytime the webhook (checkout.session.completed) is sent to my application, it results in an HTTP 419 error with the message “Page Expired.” I checked server logs (access and error logs) and can confirm 419 errors on webhook requests. The filament log file show no error.

Filament Stripe Webhook failing with 419 Error (Page Expired) despite CSRF exclusion

I’m facing a persistent issue with my filament application after migrating to a new server. The problem specifically occurs when handling Stripe webhooks using a checkout session. Despite multiple configurations and attempts to resolve it, the issue remains unresolved. My application is using a checkout session using a StripeController.php and a custom route. Users can buy an item, directly checkout and then the webhook sends back if the checkout was successfull. But everytime the webhook (checkout.session.completed) is sent to my application, it results in an HTTP 419 error with the message “Page Expired.” I checked server logs (access and error logs) and can confirm 419 errors on webhook requests. The filament log file show no error.