mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Fix AttributeError in paypal module
This commit is contained in:
@@ -245,7 +245,7 @@ class Paypal(BasePaymentProvider):
|
||||
if payment.state != 'approved':
|
||||
payment_obj.state = OrderPayment.PAYMENT_STATE_FAILED
|
||||
payment_obj.save()
|
||||
payment.order.log_action('pretix.event.order.payment.failed', {
|
||||
payment_obj.order.log_action('pretix.event.order.payment.failed', {
|
||||
'local_id': payment.local_id,
|
||||
'provider': payment.provider,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user