mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Pass request when manually editing gift cards
This commit is contained in:
@@ -1057,7 +1057,7 @@ class GiftCardDetailView(OrganizerDetailViewMixin, OrganizerPermissionRequiredMi
|
||||
})
|
||||
)
|
||||
try:
|
||||
r.payment_provider.execute_payment(None, r)
|
||||
r.payment_provider.execute_payment(request, r)
|
||||
except PaymentException as e:
|
||||
with transaction.atomic():
|
||||
r.state = OrderPayment.PAYMENT_STATE_FAILED
|
||||
|
||||
Reference in New Issue
Block a user