/home/techb158/immovalet.com/vendor/laravel/cashier/src/Console
NameSizeModeActions
WebhookCommand.php17620644editdlrm
Edit: /home/techb158/immovalet.com/vendor/laravel/cashier/src/Console/WebhookCommand.php (1762B)
webhookEndpoints->create([ 'enabled_events' => [ 'customer.subscription.created', 'customer.subscription.updated', 'customer.subscription.deleted', 'customer.updated', 'customer.deleted', 'invoice.payment_action_required', ], 'url' => $this->option('url') ?? route('cashier.webhook'), 'api_version' => $this->option('api-version') ?? Cashier::STRIPE_VERSION, ]); $this->info('The Stripe webhook was created successfully. Retrieve the webhook secret in your Stripe dashboard and define it as an environment variable.'); if ($this->option('disabled')) { $endpoint->update($endpoint->id, ['disabled' => true]); $this->info('The Stripe webhook was disabled as requested. You may enable the webhook via the Stripe dashboard when needed.'); } } }