<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;

class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array<int, string>
     */
     protected $except = [
        'api/*',
        'payments/razorpay/webhook',
        'razorpay-webhook',
        'webhook/razorpay',
         // Razorpay Payment Routes
        'api/payments/razorpay/verify',
        'api/payments/razorpay/webhook',
        'payments/razorpay/verify',
        'payments/razorpay/webhook',

        // Other webhook endpoints if any
        'webhook/*',
        'stripe/webhook',
        'paypal/webhook',

    ];
}
