add acceptor_id to the giftcard transaction webhook event

This commit is contained in:
Lukas Bockstaller
2026-01-22 13:39:26 +01:00
parent ad78934ad2
commit aee76b094d
4 changed files with 14 additions and 8 deletions
+3 -1
View File
@@ -1649,7 +1649,8 @@ class GiftCardPayment(BasePaymentProvider):
gc.log_action(
action='pretix.giftcards.transaction.payment',
data={
'value': trans.value
'value': trans.value,
'acceptor_id': self.event.organizer.id
}
)
except PaymentException as e:
@@ -1680,6 +1681,7 @@ class GiftCardPayment(BasePaymentProvider):
action='pretix.giftcards.transaction.refund',
data={
'value': refund.amount,
'acceptor_id': self.event.organizer.id,
'text': refund.comment,
}
)