From 388eb7de96b8902751dbf63c2725fa564c614056 Mon Sep 17 00:00:00 2001 From: sweenu Date: Mon, 6 Jul 2026 12:19:53 +0300 Subject: [PATCH] BasePaymentProvider: Fix type hinting on execute_payment() (#6078) --- src/pretix/base/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/payment.py b/src/pretix/base/payment.py index 1c6822a4c..8efc58d49 100644 --- a/src/pretix/base/payment.py +++ b/src/pretix/base/payment.py @@ -834,7 +834,7 @@ class BasePaymentProvider: """ raise NotImplementedError() # NOQA - def execute_payment(self, request: HttpRequest, payment: OrderPayment) -> str: + def execute_payment(self, request: HttpRequest, payment: OrderPayment) -> str | None: """ After the user has confirmed their purchase, this method will be called to complete the payment process. This is the place to actually move the money if applicable.