coinswitch integration

This commit is contained in:
Kukks
2018-12-18 19:01:58 +01:00
parent c00c95efcf
commit 2b4603a234
9 changed files with 61 additions and 16 deletions

View File

@@ -317,6 +317,7 @@ namespace BTCPayServer.Controllers
ChangellyAmountDue = changellyAmountDue,
CoinSwitchEnabled = coinswitch != null,
CoinSwitchMerchantId = coinswitch?.MerchantId,
CoinSwitchMode = coinswitch?.Mode,
StoreId = store.Id,
AvailableCryptos = invoice.GetPaymentMethods(_NetworkProvider)
.Where(i => i.Network != null)