From 7a21c03896282e07efc8adb92a2b226233d5171e Mon Sep 17 00:00:00 2001 From: Kukks Date: Thu, 11 Apr 2019 09:14:39 +0200 Subject: [PATCH] fix pos settings savings for notifications closes #751 --- BTCPayServer/Controllers/AppsController.PointOfSale.cs | 5 ++++- BTCPayServer/Controllers/AppsPublicController.cs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/AppsController.PointOfSale.cs b/BTCPayServer/Controllers/AppsController.PointOfSale.cs index b198c84c9..103e0d96e 100644 --- a/BTCPayServer/Controllers/AppsController.PointOfSale.cs +++ b/BTCPayServer/Controllers/AppsController.PointOfSale.cs @@ -178,7 +178,10 @@ namespace BTCPayServer.Controllers CustomButtonText = vm.CustomButtonText, CustomTipText = vm.CustomTipText, CustomTipPercentages = ListSplit(vm.CustomTipPercentages), - CustomCSSLink = vm.CustomCSSLink + CustomCSSLink = vm.CustomCSSLink, + NotificationUrl = vm.NotificationUrl, + NotificationEmail = vm.NotificationEmail + }); await UpdateAppSettings(app); StatusMessage = "App updated"; diff --git a/BTCPayServer/Controllers/AppsPublicController.cs b/BTCPayServer/Controllers/AppsPublicController.cs index 2f9d44589..4512c82bb 100644 --- a/BTCPayServer/Controllers/AppsPublicController.cs +++ b/BTCPayServer/Controllers/AppsPublicController.cs @@ -269,6 +269,7 @@ namespace BTCPayServer.Controllers NotificationEmail = settings.NotificationEmail, RedirectURL = redirectUrl ?? Request.GetDisplayUrl(), FullNotifications = true, + ExtendedNotifications = true, PosData = string.IsNullOrEmpty(posData) ? null : posData }, store, HttpContext.Request.GetAbsoluteRoot(), new List() {AppService.GetAppInternalTag(appId)},