diff --git a/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.ts b/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.ts index 329aba522f..8c013674bd 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/clients/create-client-dialog.component.ts @@ -109,14 +109,14 @@ export class CreateClientDialogComponent implements OnInit { this.planCards = [ { name: this.i18nService.t("planNameTeams"), - cost: teamsPlan.PasswordManager.seatPrice * 0.65, // 35% off for MSPs, + cost: teamsPlan.PasswordManager.providerPortalSeatPrice * 0.65, // 35% off for MSPs, type: teamsPlan.type, plan: teamsPlan, selected: true, }, { name: this.i18nService.t("planNameEnterprise"), - cost: enterprisePlan.PasswordManager.seatPrice * 0.65, // 35% off for MSPs, + cost: enterprisePlan.PasswordManager.providerPortalSeatPrice * 0.65, // 35% off for MSPs, type: enterprisePlan.type, plan: enterprisePlan, selected: false, diff --git a/libs/common/src/billing/models/response/plan.response.ts b/libs/common/src/billing/models/response/plan.response.ts index c03fd76efc..3d8ab28302 100644 --- a/libs/common/src/billing/models/response/plan.response.ts +++ b/libs/common/src/billing/models/response/plan.response.ts @@ -110,9 +110,11 @@ export class PasswordManagerPlanFeaturesResponse extends BaseResponse { // Seats stripePlanId: string; stripeSeatPlanId: string; + stripeProviderPortalSeatPlanId: string; stripePremiumAccessPlanId: string; basePrice: number; seatPrice: number; + providerPortalSeatPrice: number; premiumAccessOptionPrice: number; baseSeats: number; maxAdditionalSeats: number; @@ -134,10 +136,14 @@ export class PasswordManagerPlanFeaturesResponse extends BaseResponse { super(response); this.stripePlanId = this.getResponseProperty("StripePlanId"); this.stripeSeatPlanId = this.getResponseProperty("StripeSeatPlanId"); + this.stripeProviderPortalSeatPlanId = this.getResponseProperty( + "StripeProviderPortalSeatPlanId", + ); this.stripeStoragePlanId = this.getResponseProperty("StripeStoragePlanId"); this.stripePremiumAccessPlanId = this.getResponseProperty("StripePremiumAccessPlanId"); this.basePrice = this.getResponseProperty("BasePrice"); this.seatPrice = this.getResponseProperty("SeatPrice"); + this.providerPortalSeatPrice = this.getResponseProperty("ProviderPortalSeatPrice"); this.baseSeats = this.getResponseProperty("BaseSeats"); this.maxAdditionalSeats = this.getResponseProperty("MaxAdditionalSeats"); this.premiumAccessOptionPrice = this.getResponseProperty("PremiumAccessOptionPrice");