From 08f0dadc2f370737db54e4bb69e1148b5b56ea7b Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:23:53 +0100 Subject: [PATCH] Resolve the bug on change payment method (#11202) --- .../change-plan-dialog.component.html | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/apps/web/src/app/billing/organizations/change-plan-dialog.component.html b/apps/web/src/app/billing/organizations/change-plan-dialog.component.html index bd8ae20c92e..27d51af92b3 100644 --- a/apps/web/src/app/billing/organizations/change-plan-dialog.component.html +++ b/apps/web/src/app/billing/organizations/change-plan-dialog.component.html @@ -332,20 +332,16 @@

{{ "paymentMethod" | i18n }}

-

+

- {{ billing?.paymentSource?.description }} - {{ - "changePaymentMethod" | i18n - }} - -

-

- - {{ paymentSource?.description }} - {{ - "changePaymentMethod" | i18n - }} + {{ + deprecateStripeSourcesAPI + ? paymentSource?.description + : billing?.paymentSource?.description + }} + + {{ "changePaymentMethod" | i18n }} +