⏱
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!
Copy link
Edit on GitHub