From eb600760a3c938bc0ee81f13c5e0761fd233b811 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 18 Jul 2021 09:23:43 +0200 Subject: [PATCH] default creditor name: remove exclamation point for compatibility The Swiss banking app neon does not accept the exclamation point. Users need to remove it before they can enter the transaction. Hence, remove it for compatibility, perhaps other banks or banking apps are also affected. --- cmd/qrbill-api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/qrbill-api/api.go b/cmd/qrbill-api/api.go index d335ee2..d31a183 100644 --- a/cmd/qrbill-api/api.go +++ b/cmd/qrbill-api/api.go @@ -47,7 +47,7 @@ func qrchFromRequest(r *http.Request) *qrbill.QRCH { IBAN: ifEmpty(r.Form, "criban", "CH0209000000870913543"), Cdtr: qrbill.Address{ AdrTp: qrbill.AddressType(ifEmpty(r.Form, "craddrtype", string(qrbill.AddressTypeStructured))), - Name: ifEmpty(r.Form, "crname", "Legalize it!"), + Name: ifEmpty(r.Form, "crname", "Legalize it"), StrtNmOrAdrLine1: ifEmpty(r.Form, "craddr1", "Quellenstrasse"), BldgNbOrAdrLine2: ifEmpty(r.Form, "craddr2", "25"), PstCd: ifEmpty(r.Form, "crpost", "8005"),