Fix failing tests after Stripe provider change

This commit is contained in:
Raphael Michel
2023-02-17 09:58:36 +01:00
parent 83b10ecd23
commit 72aaf24a40
3 changed files with 10 additions and 2 deletions

View File

@@ -1539,7 +1539,8 @@ class PaymentViewSet(CreateModelMixin, viewsets.ReadOnlyModelViewSet):
source=OrderRefund.REFUND_SOURCE_ADMIN,
state=OrderRefund.REFUND_STATE_CREATED,
amount=amount,
provider=payment.provider
provider=payment.provider,
info='{}',
)
payment.order.log_action('pretix.event.order.refund.created', {
'local_id': r.local_id,