diff --git a/modules/account_payment_stripe/payment.py b/modules/account_payment_stripe/payment.py index 62aad288fb..41969129f6 100644 --- a/modules/account_payment_stripe/payment.py +++ b/modules/account_payment_stripe/payment.py @@ -1641,8 +1641,7 @@ class Customer(CheckoutMixin, DeactivableMixin, ModelSQL, ModelView): payment_methods = stripe.PaymentMethod.list( api_key=self.stripe_account.secret_key, stripe_version=STRIPE_VERSION, - customer=self.stripe_customer_id, - type='card') + customer=self.stripe_customer_id) except (stripe.error.RateLimitError, stripe.error.APIConnectionError) as e: logger.warning(str(e))