1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-24 04:04:24 +00:00

[PM-26947] Fix Billing Address Defect (#16872)

* fix(billing): Add Billing Address component

* fix(billing): Update tax refresh logic and swap billing address component

* fix(billing): Fix headers

* fix(billing): Do not show bank payment option for premium upgrade
This commit is contained in:
Stephon Brown
2025-10-16 12:08:19 -04:00
committed by GitHub
parent cd08a71a0b
commit 9b2fbdba1c
2 changed files with 42 additions and 22 deletions

View File

@@ -31,11 +31,19 @@
</div>
}
<div class="tw-pb-8 !tw-mx-0">
<h5 bitTypography="h5">{{ "paymentMethod" | i18n }}</h5>
<app-enter-payment-method
[showBankAccount]="isFamiliesPlan"
[group]="formGroup.controls.paymentForm"
[includeBillingAddress]="true"
[includeBillingAddress]="false"
#paymentComponent
></app-enter-payment-method>
<h5 bitTypography="h5" class="tw-pt-4 tw-pb-2">{{ "billingAddress" | i18n }}</h5>
<app-enter-billing-address
[group]="formGroup.controls.billingAddress"
[scenario]="{ type: 'checkout', supportsTaxId: false }"
>
</app-enter-billing-address>
</div>
</section>