forked from CGM_Public/pretix_original
PPv2: properly check for pending-payments in pending-renderer
This commit is contained in:
@@ -836,7 +836,7 @@ class PaypalMethod(BasePaymentProvider):
|
|||||||
try:
|
try:
|
||||||
if (
|
if (
|
||||||
payment.info
|
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
|
retry = False
|
||||||
except (KeyError, IndexError):
|
except (KeyError, IndexError):
|
||||||
|
|||||||
Reference in New Issue
Block a user