diff --git a/BTCPayServer/Controllers/StoresController.Integrations.cs b/BTCPayServer/Controllers/StoresController.Integrations.cs index 12d991d99..1148ff7f4 100644 --- a/BTCPayServer/Controllers/StoresController.Integrations.cs +++ b/BTCPayServer/Controllers/StoresController.Integrations.cs @@ -164,7 +164,7 @@ namespace BTCPayServer.Controllers } catch (Exception) { - TempData[WellKnownTempData.ErrorMessage] = "The provided example url was invalid."; + TempData[WellKnownTempData.ErrorMessage] = "The provided Example Url was invalid."; return View("Integrations", vm); } } diff --git a/BTCPayServer/Views/Stores/Integrations/Shopify.cshtml b/BTCPayServer/Views/Stores/Integrations/Shopify.cshtml index ef5bd6157..6b66ff9f5 100644 --- a/BTCPayServer/Views/Stores/Integrations/Shopify.cshtml +++ b/BTCPayServer/Views/Stores/Integrations/Shopify.cshtml @@ -3,15 +3,6 @@ var shopify = Model.Shopify; var shopifyCredsSet = shopify?.IntegratedAt.HasValue is true; } -

Shopify @@ -21,48 +12,50 @@ function promptExampleUrl(){

@if (!shopifyCredsSet) { -

Create a Shopify private app with the permissions "Script tags - Read and write" and "Orders - Read and write" then click here and paste the provided example URL.

- - } -
- -
- @if (!Model.Shopify?.ShopName?.Contains(".") is true) - { -
- https:// -
- } - +

Create a Shopify Private App with the permissions "Script tags - Read and write" and "Orders - Read and write"

- @if (!Model.Shopify?.ShopName?.Contains(".") is true) - { -
- .myshopify.com -
- } +
+ +
- -
-
- - - -
- -
- - - -
- - @if (!shopifyCredsSet) - { } else { +
+ +
+ @if (!Model.Shopify?.ShopName?.Contains(".") is true) + { +
+ https:// +
+ } + + + @if (!Model.Shopify?.ShopName?.Contains(".") is true) + { +
+ .myshopify.com +
+ } +
+ +
+ +
+ + + +
+ +
+ + + +
+

Orders on @shopify.ShopName.myshopify.com will be marked as paid on successful invoice payment. Started: @shopify.IntegratedAt.Value.ToBrowserDate() @@ -86,10 +79,8 @@ function promptExampleUrl(){

Please add a payment method at Settings > Payments > Manual Payment Methods with the name Bitcoin with BTCPay Server

- } - @if (shopifyCredsSet) - { +