## Summary - Users without a Stripe customer ID (`stripe_id = null`) would hit an `InvalidCustomer` exception when visiting the billing portal - Added a `hasStripeId()` check before calling `redirectToBillingPortal()`, creating the Stripe customer on-the-fly if needed - Added two tests covering both branches (with and without an existing Stripe customer ID) |
||
|---|---|---|
| .. | ||
| Actions | ||
| Console/Commands | ||
| Contracts | ||
| Enums | ||
| Events | ||
| Http | ||
| Jobs | ||
| Listeners | ||
| Models | ||
| Notifications | ||
| Policies | ||
| Providers | ||
| Services | ||