Stripe test mode
- Create a Stripe test-mode account / use test keys
- Put
STRIPE_KEY,STRIPE_SECRET, andSTRIPE_WEBHOOK_SECRETin.env - Create products and recurring prices in the Stripe Dashboard (test mode)
- Sync:
php artisan electrik:stripe:sync
- Forward webhooks locally:
stripe listen --forward-to localhost:8000/stripe/webhook
(Use the Cashier webhook path your app exposes.)
Never use live keys in local sandboxes. Map price ids to plan features in config/electrik.php.