mirror of
https://github.com/bitwarden/server
synced 2025-12-22 19:23:45 +00:00
proration adjustments for next bill amount
This commit is contained in:
@@ -40,7 +40,8 @@ namespace Bit.Core.Services
|
||||
AddOns = new AddOnsRequest(),
|
||||
Options = new SubscriptionOptionsRequest
|
||||
{
|
||||
ProrateCharges = true
|
||||
ProrateCharges = true,
|
||||
RevertSubscriptionOnProrationFailure = true
|
||||
}
|
||||
};
|
||||
|
||||
@@ -64,7 +65,8 @@ namespace Bit.Core.Services
|
||||
new UpdateAddOnRequest
|
||||
{
|
||||
ExistingId = storageItem.Id,
|
||||
Quantity = additionalStorage
|
||||
Quantity = additionalStorage,
|
||||
NeverExpires = true
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user