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

(cherry picked from commit 6042284704)
This commit is contained in:
ndeet
2024-07-31 14:20:25 +02:00
parent bc934a0745
commit 600a054314
+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'),