mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
Fix proration behavior in BillingService
This commit is contained in:
parent
82e5977e15
commit
8e08dea7ec
@ -304,7 +304,7 @@ export class BillingService extends BaseService {
|
||||
|
||||
// add billing anchor, so that the billing cycle starts now. New quantity will be charged from now. https://stackoverflow.com/questions/44417047/immediately-charge-for-subscription-changes
|
||||
await this.stripe.subscriptions.update(subscriptionId, {
|
||||
proration_behavior: 'always_invoice'
|
||||
proration_behavior: 'always_invoice',
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user