⏫Upgrading from 4.x
Livewire
This version now has Livewire support thanks to Atila Silva's Pull Request.
Install Command
Livewire was freshly introduced to this version and specifying the stack is no longer needed. The package will use the jetstream.php
's stack
value to determine what to install, so it's important to install Jetstream and publish Jetstream assets before diving in and installing Cashierstream.
The command no longer needs the stack argument, so you can directly install the Cashier stack:
Authorization
You may configure the authorization validation for your users when accessing the portal. Read the documentation about authorization.
Make sure that the config/billing-portal.php
's middleware
configuration adds the middleware needed for authorization:
Webhooks
Webhooks are already integrated with Cashierstream. The configuration was made to be flexible and change the path and the controller class used by the route. Read more about the installation process for the webhooks ↗
Append the following config to config/billing-portal.php.
Last updated