mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user