Remove CheckoutV1

This commit is contained in:
nicolas.dorier
2024-04-05 16:23:04 +09:00
parent ff5e03a8b1
commit 4208110d57
100 changed files with 16 additions and 27603 deletions

View File

@@ -126,7 +126,6 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
AppId = appId,
StoreId = store.Id,
Description = settings.Description,
RequiresRefundEmail = settings.RequiresRefundEmail
});
}
@@ -150,7 +149,6 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
string choiceKey = null,
string posData = null,
string formResponse = null,
RequiresRefundEmail requiresRefundEmail = RequiresRefundEmail.InheritFromStore,
CancellationToken cancellationToken = default)
{
var app = await _appService.GetApp(appId, PointOfSaleAppType.AppType);
@@ -337,9 +335,6 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
RedirectURL = !string.IsNullOrEmpty(redirectUrl) ? redirectUrl
: !string.IsNullOrEmpty(settings.RedirectUrl) ? settings.RedirectUrl
: Request.GetAbsoluteUri(Url.Action(nameof(ViewPointOfSale), "UIPointOfSale", new { appId, viewType })),
RequiresRefundEmail = requiresRefundEmail == RequiresRefundEmail.InheritFromStore
? storeBlob.RequiresRefundEmail
: requiresRefundEmail == RequiresRefundEmail.On,
PaymentMethods = paymentMethods?.Where(p => p.Value.Enabled).Select(p => p.Key).ToArray()
},
AdditionalSearchTerms = new [] { AppService.GetAppSearchTerm(app) }