admin panel stripe u

This commit is contained in:
Hritikkk9
2024-07-03 15:30:53 +05:30
parent acb2b9330d
commit 2df39304d4
2 changed files with 5 additions and 2 deletions

View File

@@ -12,6 +12,6 @@ class VerifyCsrfToken extends Middleware
* @var array<int, string>
*/
protected $except = [
'/stripe-webhook',
'stripe/webhook',
];
}

View File

@@ -31,7 +31,10 @@ use App\Http\Controllers\Admin\ManageRulesController;
//webhook
Route::post('/stripe-webhook', [StripeWebhookController::class, 'handleWebhook']);
// Route::post('/stripe-webhook', [StripeWebhookController::class, 'handleWebhook']);
Route::post('/stripe/webhook', [StripeWebhookController::class, 'handleWebhook']);
//stripe webhook end