diff --git a/BTCPayServer/Models/StoreViewModels/UpdateCoinSwitchSettingsViewModel.cs b/BTCPayServer/Models/StoreViewModels/UpdateCoinSwitchSettingsViewModel.cs index 41d146451..424ba255b 100644 --- a/BTCPayServer/Models/StoreViewModels/UpdateCoinSwitchSettingsViewModel.cs +++ b/BTCPayServer/Models/StoreViewModels/UpdateCoinSwitchSettingsViewModel.cs @@ -11,7 +11,7 @@ namespace BTCPayServer.Models.StoreViewModels public bool Enabled { get; set; } [Display(Name = "Integration Mode")] - public string Mode { get; set; } = "popup"; + public string Mode { get; set; } = "inline"; public List Modes { get; } = new List { diff --git a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml index 307bddabb..5ee6e178e 100644 --- a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml +++ b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml @@ -299,9 +299,16 @@ :autoload="selectedThirdPartyProcessor === 'coinswitch'" :to-currency-address="srvModel.btcAddress">
- - {{$t("Pay with CoinSwitch")}} - + + {{$t("Pay with CoinSwitch")}} + + + @if (Model.ChangellyEnabled) + { + + }