diff --git a/src/pretix/base/services/orders.py b/src/pretix/base/services/orders.py index e56b4e5b92..58991c30cf 100644 --- a/src/pretix/base/services/orders.py +++ b/src/pretix/base/services/orders.py @@ -412,6 +412,9 @@ def approve_order(order, user=None, send_mail: bool=True, auth=None, force=False email_subject, email_template, email_context, 'pretix.event.order.email.order_approved', user, attach_tickets=True, + attach_ical=order.event.settings.mail_attach_ical and ( + not order.event.settings.mail_attach_ical_paid_only or order.total == Decimal('0.00') + ), invoices=[invoice] if invoice and order.event.settings.invoice_email_attachment else [] ) except SendMailException: