diff --git a/src/pretix/plugins/paypal/payment.py b/src/pretix/plugins/paypal/payment.py index fc3d1c7f77..ef3840282b 100644 --- a/src/pretix/plugins/paypal/payment.py +++ b/src/pretix/plugins/paypal/payment.py @@ -187,6 +187,7 @@ class Paypal(BasePaymentProvider): ]) payment.execute({"payer_id": request.session.get('payment_paypal_payer')}) + order.refresh_from_db() if payment.state == 'pending': messages.warning(request, _('PayPal has not yet approved the payment. We will inform you as soon as the ' 'payment completed.'))