mirror of
https://github.com/pretix/pretix.git
synced 2026-08-12 11:07:02 +00:00
mark approved payment as pending
This commit is contained in:
@@ -678,6 +678,8 @@ class PaypalMethod(BasePaymentProvider):
|
||||
else:
|
||||
pp_captured_order = response.result
|
||||
payment.info = json.dumps(pp_captured_order.dict())
|
||||
if pp_captured_order.status == 'APPROVED':
|
||||
payment.state = OrderPayment.PAYMENT_STATE_PENDING
|
||||
payment.save()
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user