Make sure email is passed, also if used in PoS context.

This commit is contained in:
ndeet
2024-07-31 14:19:23 +02:00
parent 848b1f5e30
commit 6042284704
+1 -1
View File
@@ -62,7 +62,7 @@ class BTCPayController(http.Controller):
"redirectURL": redirect_url,
"notificationURL": notification_url,
"extendedNotifications": True,
"buyer": {"email": data.get('email'),
"buyer": {"email": data.get('email') or 'noemailavailable@example.com',
"name": data.get('name'),
"address1": data.get('street'),
"locality": data.get('city'),