mirror of https://github.com/zulip/zulip.git
billing: Remove buggy i18n check.
This commit is contained in:
parent
004563b380
commit
cbb83b214f
|
@ -2080,9 +2080,7 @@ class BillingSession(ABC):
|
||||||
if customer is not None and customer_has_credit_card_as_default_payment_method(customer):
|
if customer is not None and customer_has_credit_card_as_default_payment_method(customer):
|
||||||
assert customer.stripe_customer_id is not None
|
assert customer.stripe_customer_id is not None
|
||||||
stripe_customer = stripe_get_customer(customer.stripe_customer_id)
|
stripe_customer = stripe_get_customer(customer.stripe_customer_id)
|
||||||
payment_method = payment_method_string(stripe_customer)
|
current_payment_method = payment_method_string(stripe_customer)
|
||||||
# Show "Update card" button if user has already added a card.
|
|
||||||
current_payment_method = None if "ending in" not in payment_method else payment_method
|
|
||||||
|
|
||||||
tier = initial_upgrade_request.tier
|
tier = initial_upgrade_request.tier
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue