diff --git a/src/pretix/control/forms/orders.py b/src/pretix/control/forms/orders.py index 734a46b96a..32cfdd28c6 100644 --- a/src/pretix/control/forms/orders.py +++ b/src/pretix/control/forms/orders.py @@ -107,7 +107,7 @@ class CancelForm(ConfirmPaymentForm): del self.fields['cancellation_fee'] def clean_cancellation_fee(self): - val = self.cleaned_data['cancellation_fee'] + val = self.cleaned_data['cancellation_fee'] or Decimal('0.00') if val > self.instance.payment_refund_sum: raise ValidationError(_('The cancellation fee cannot be higher than the payment credit of this order.')) return val