mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Improved logging and transaction handling around payment confirmations
This commit is contained in:
@@ -687,7 +687,7 @@ class BasePaymentProvider:
|
||||
On failure, you should raise a PaymentException.
|
||||
"""
|
||||
payment.state = OrderPayment.PAYMENT_STATE_CANCELED
|
||||
payment.save()
|
||||
payment.save(update_fields=['state'])
|
||||
|
||||
def execute_refund(self, refund: OrderRefund):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user