mirror of
https://github.com/pretix/pretix.git
synced 2026-11-10 01:17:07 +00:00
PPv2: properly check for pending-payments in pending-renderer
This commit is contained in:
1 parent
e5c8f19984
commit
3398cda74b
1 file changed
+1
-1
@@ -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