mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Fix issue with failed paypal payments
This commit is contained in:
@@ -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.'))
|
||||
|
||||
Reference in New Issue
Block a user