mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
PPv2: properly check for pending-payments in pending-renderer
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user