Cashierstream
Github Repo
Searchβ¦
5.x
β‘
Introduction
π
Support
β«
Upgrading from 4.x
Getting Started
π
Installation
πΎ
Defining plans
π¦
Routes
Advanced Usage
πββοΈ Authorization
π
Custom Billables
β±
Proration between swaps
β¨
Custom Actions
Powered By
GitBook
β±
Proration between swaps
By default, Billing Portal prorates the swap between plans. If you wish to not prorate the subscription between swaps, you can specify this in your service provider:
1
use
RenokiCo
\
BillingPortal
\
BillingPortal
;
2
β
3
class
BillingPortalServiceProvider
extends
BaseServiceProvider
4
{
5
/**
6
* Boot the service provider.
7
*
8
* @return void
9
*/
10
public
function
boot
()
11
{
12
parent
::
boot
();
13
β
14
BillingPortal
::
dontProrateOnSwap
();
15
}
16
}
Copied!
Advanced Usage - Previous
Custom Billables
Next - Advanced Usage
Custom Actions
Last modified
10mo ago
Copy link
Edit on GitHub