From 59d1d2cb162603e41a503aa0fe2af99ef3bc1e81 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Thu, 19 Feb 2026 14:40:01 +0100 Subject: [PATCH] Stripe: Add Wero as a hidden payment method (private beta; requires MoR) --- src/pretix/plugins/stripe/payment.py | 22 ++++++++++++++++++++++ src/pretix/plugins/stripe/signals.py | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/pretix/plugins/stripe/payment.py b/src/pretix/plugins/stripe/payment.py index 9900882c8..5ff5780b4 100644 --- a/src/pretix/plugins/stripe/payment.py +++ b/src/pretix/plugins/stripe/payment.py @@ -118,6 +118,7 @@ logger = logging.getLogger('pretix.plugins.stripe') # - UPI: ✗ # - Netbanking: ✗ # - TWINT: ✓ +# - Wero: ✓ (No settings UI yet) # # Bank transfers # - ACH Bank Transfer: ✗ @@ -509,6 +510,15 @@ class StripeSettingsHolder(BasePaymentProvider): 'before they work properly.'), required=False, )), + # Disabled for now, since still in closed Beta and only available to dedicated boarded accounts. + # ('method_wero', + # forms.BooleanField( + # label=_('Wero'), + # disabled=self.event.currency not in 'EUR', + # 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 ) if not self.settings.connect_client_id or self.settings.secret_key: @@ -1946,3 +1956,15 @@ class StripeMobilePay(StripeRedirectMethod): "type": "mobilepay", }, } + + +class StripeWero(StripeRedirectMethod): + identifier = 'stripe_wero' + verbose_name = _('WERO via Stripe') + public_name = 'WERO' + method = 'wero' + confirmation_method = 'automatic' + explanation = _( + 'This payment method is available to European online banking users, whose banking institutions support WERO ' + 'either through their native banking apps or through the WERO wallet app. Please have you app ready.' + ) diff --git a/src/pretix/plugins/stripe/signals.py b/src/pretix/plugins/stripe/signals.py index 05f5b45f8..c86980136 100644 --- a/src/pretix/plugins/stripe/signals.py +++ b/src/pretix/plugins/stripe/signals.py @@ -49,14 +49,14 @@ def register_payment_provider(sender, **kwargs): StripeMultibanco, StripePayByBank, StripePayPal, StripePromptPay, StripePrzelewy24, StripeRevolutPay, StripeSEPADirectDebit, StripeSettingsHolder, StripeSofort, StripeSwish, StripeTwint, - StripeWeChatPay, + StripeWeChatPay, StripeWero ) return [ StripeSettingsHolder, StripeCC, StripeGiropay, StripeIdeal, StripeAlipay, StripeBancontact, StripeSofort, StripeEPS, StripeMultibanco, StripePayByBank, StripePrzelewy24, StripePromptPay, StripeRevolutPay, StripeWeChatPay, StripeSEPADirectDebit, StripeAffirm, StripeKlarna, StripePayPal, StripeSwish, - StripeTwint, StripeMobilePay + StripeTwint, StripeMobilePay, StripeWero ]