From 755f3d53b6b0324eec84a797c749734c41f7dfa1 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 14 Feb 2020 13:24:18 +0100 Subject: [PATCH] Fix issue with failed paypal payments --- src/pretix/plugins/paypal/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/paypal/payment.py b/src/pretix/plugins/paypal/payment.py index 725a6d138e..9cefba4c6f 100644 --- a/src/pretix/plugins/paypal/payment.py +++ b/src/pretix/plugins/paypal/payment.py @@ -359,7 +359,7 @@ class Paypal(BasePaymentProvider): return if payment.state != 'approved': - payment_obj.fail(info=str(payment)) + payment_obj.fail(info=payment) logger.error('Invalid state: %s' % str(payment)) raise PaymentException(_('We were unable to process your payment. See below for details on how to ' 'proceed.'))