Make NFC built in (#4541)

* Make NFC built int

* support checkout v2

* uninstall old plugin

* fix lnurl in unified checkout

* fix tests

* fix tests

* fix old checkout unified qr

* clean up and make nfc submission more sturdy

* support topup invoices for lnurlw

* fix test

* Payment URI fixes

* Fix LNURL exclusion cases

* UI updates

* Adapt test

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
This commit is contained in:
Andrew Camilleri
2023-02-08 07:47:38 +01:00
committed by GitHub
parent 67254cc30c
commit 85513aa5c3
13 changed files with 421 additions and 53 deletions

View File

@@ -120,6 +120,12 @@ namespace BTCPayServer.Plugins
foreach (var toLoad in pluginsToLoad)
{
// This used to be a standalone plugin but due to popular demand has been made as part of core. If we detect an install, we remove the redundant plugin.
if (toLoad.PluginIdentifier == "BTCPayServer.Plugins.NFC")
{
QueueCommands(pluginsFolder, ("delete", toLoad.PluginIdentifier));
continue;
}
if (!loadedPluginIdentifiers.Add(toLoad.PluginIdentifier))
continue;
try