mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
PPv2: Do not fail hard on refunds that are based on manually confirmed payments (Fixes: #PRETIXEU-AC1)
This commit is contained in:
@@ -949,6 +949,9 @@ class PaypalMethod(BasePaymentProvider):
|
||||
}
|
||||
})
|
||||
response = self.client.execute(req)
|
||||
except KeyError:
|
||||
raise PaymentException(_('Refunding the amount via PayPal failed: The original payment does not contain '
|
||||
'the required information to issue an automated refund.'))
|
||||
except IOError as e:
|
||||
refund.order.log_action('pretix.event.order.refund.failed', {
|
||||
'local_id': refund.local_id,
|
||||
|
||||
Reference in New Issue
Block a user