From 3398cda74bb840d32c4fcfccd2a4a4ee934dbf40 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Tue, 24 Feb 2026 16:16:22 +0100 Subject: [PATCH] PPv2: properly check for pending-payments in pending-renderer --- src/pretix/plugins/paypal2/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/paypal2/payment.py b/src/pretix/plugins/paypal2/payment.py index ec374eb9eb..c29d0cff5b 100644 --- a/src/pretix/plugins/paypal2/payment.py +++ b/src/pretix/plugins/paypal2/payment.py @@ -836,7 +836,7 @@ class PaypalMethod(BasePaymentProvider): try: if ( payment.info - and payment.info_data['purchase_units'][0]['payments']['captures'][0]['status'] == 'pending' + and payment.info_data['purchase_units'][0]['payments']['captures'][0]['status'] == 'PENDING' ): retry = False except (KeyError, IndexError):