BasePaymentProvider: Fix type hinting on execute_payment() (#6078)

This commit is contained in:
sweenu
2026-07-06 11:19:53 +02:00
committed by GitHub
parent df4c83d849
commit 388eb7de96
+1 -1
View File
@@ -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.