From c92bb9cb8bb5e01ba9419b75cf3d42a99a61871d Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Tue, 19 Nov 2024 13:17:52 +0100 Subject: [PATCH] Stripe: (FIX) Make MobilePay optional --- src/pretix/plugins/stripe/payment.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pretix/plugins/stripe/payment.py b/src/pretix/plugins/stripe/payment.py index 10cc72caf..f1491a24a 100644 --- a/src/pretix/plugins/stripe/payment.py +++ b/src/pretix/plugins/stripe/payment.py @@ -492,12 +492,18 @@ class StripeSettingsHolder(BasePaymentProvider): # label=_('PayPal'), # disabled=self.event.currency not in [ # 'EUR', 'GBP', 'USD', 'CHF', 'CZK', 'DKK', 'NOK', 'PLN', 'SEK', 'AUD', 'CAD', 'HKD', 'NZD', 'SGD' - # ] + # ], + # help_text=_('Some payment methods might need to be enabled in the settings of your Stripe account ' + # 'before they work properly.'), + # required=False, # )), ('method_mobilepay', forms.BooleanField( label=_('MobilePay'), disabled=self.event.currency not in ['DKK', 'EUR', 'NOK', 'SEK'], + help_text=_('Some payment methods might need to be enabled in the settings of your Stripe account ' + 'before they work properly.'), + required=False, )), ] + extra_fields + list(super().settings_form_fields.items()) + moto_settings )