From dedd93fb892ab27193a166f4ab41b73b6b3c4297 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Thu, 12 Mar 2020 14:33:37 +0100 Subject: [PATCH] Add Support for Square POS payment_data --- .../templates/pretixcontrol/boxoffice/payment.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/pretix/control/templates/pretixcontrol/boxoffice/payment.html b/src/pretix/control/templates/pretixcontrol/boxoffice/payment.html index be85c41296..ec1bc0dbc4 100644 --- a/src/pretix/control/templates/pretixcontrol/boxoffice/payment.html +++ b/src/pretix/control/templates/pretixcontrol/boxoffice/payment.html @@ -29,5 +29,14 @@
**** **** **** {{ payment_info.payment_data.last4 }}
+ {% elif payment_info.payment_type == "square_pos" %} +
{% trans "Payment provider" %}
+
Square POS
+
{% trans "Client Transaction Code" %}
+
{{ payment_info.payment_data.client_transactionId }}
+ {% if payment_info.payment_data.server_transactionId %} +
{% trans "Server Transaction Code" %}
+
{{ payment_info.payment_data.server_transactionId }}
+ {% endif %} {% endif %}