mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Easier payment testing (#2672)
* Easier payment testing * WIP, more TODOs and some cleanup. Help is appreciated. * Added dummy button to expire monitoring (doesn't work yet) * Added TODO * Make fake tab default if present * Split controller and change wording from fake to testing * Extract and simplify checkout testing UI * Restrict testing access to regtest Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
This commit is contained in:
@@ -28,6 +28,7 @@ using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NBitcoin;
|
||||
using NBitcoin.RPC;
|
||||
using NBitpayClient;
|
||||
using NBXplorer;
|
||||
using Newtonsoft.Json.Linq;
|
||||
@@ -448,7 +449,7 @@ namespace BTCPayServer.Controllers
|
||||
model.IsModal = true;
|
||||
return View(nameof(Checkout), model);
|
||||
}
|
||||
|
||||
|
||||
[HttpGet]
|
||||
[Route("invoice-noscript")]
|
||||
public async Task<IActionResult> CheckoutNoScript(string? invoiceId, string? id = null, string? paymentMethodId = null, [FromQuery] string? lang = null)
|
||||
|
||||
Reference in New Issue
Block a user