Make sure email is passed, also if used in PoS context.
This commit is contained in:
@@ -62,7 +62,7 @@ class BTCPayController(http.Controller):
|
|||||||
"redirectURL": redirect_url,
|
"redirectURL": redirect_url,
|
||||||
"notificationURL": notification_url,
|
"notificationURL": notification_url,
|
||||||
"extendedNotifications": True,
|
"extendedNotifications": True,
|
||||||
"buyer": {"email": data.get('email'),
|
"buyer": {"email": data.get('email') or 'noemailavailable@example.com',
|
||||||
"name": data.get('name'),
|
"name": data.get('name'),
|
||||||
"address1": data.get('street'),
|
"address1": data.get('street'),
|
||||||
"locality": data.get('city'),
|
"locality": data.get('city'),
|
||||||
|
|||||||
Reference in New Issue
Block a user