Stripe Laravel Cors - Prevent Malicious Attack

Job ID: 33840317

Budget: $10 – $12 USD

Attached is the line of codes implemented in cors to prevent malicious attacks. The issue is when Stripe attempts to call the webhook in my Laravel application. It shows error 400. You are required to provide a solution to this problem.
Related categories: Laravel Stripe