@if ($selectStripeEnvironment == 'live')
Visit Stripe Dashboard and add the above URL as an endpoint.
While creating the webhook, select these events:
- invoice.payment_failed
- invoice.payment_succeeded
- payment_intent.succeeded
- payment_intent.payment_failed