mirror of
https://github.com/bitwarden/server.git
synced 2025-07-16 07:07:32 -05:00
[AC 482]automatically apply discounts to provider portal orgs (#2801)
* Adding discount coupon on provider org creation * Change the provider discount Id * Fixing the whitespace format * Remove discount at subscription and apply to customer * resolving a failing test * Remove white spaces
This commit is contained in:
@ -664,7 +664,7 @@ public class OrganizationService : IOrganizationService
|
||||
{
|
||||
await _paymentService.PurchaseOrganizationAsync(organization, signup.PaymentMethodType.Value,
|
||||
signup.PaymentToken, plan, signup.AdditionalStorageGb, signup.AdditionalSeats,
|
||||
signup.PremiumAccessAddon, signup.TaxInfo);
|
||||
signup.PremiumAccessAddon, signup.TaxInfo, provider);
|
||||
}
|
||||
|
||||
var ownerId = provider ? default : signup.Owner.Id;
|
||||
|
Reference in New Issue
Block a user