mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
Shopify: Improve instruction display (#5752)
This commit is contained in:
parent
335f345ce3
commit
c57e1cca25
@ -61,16 +61,17 @@
|
|||||||
@if (shopifyCredsSet)
|
@if (shopifyCredsSet)
|
||||||
{
|
{
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
<p>
|
<h5 class="alert-heading">In Shopify, please do the following …</h5>
|
||||||
In Shopify please paste following script at <a href="@shopifyUrl/admin/settings/checkout#PolarisTextField1" target="_blank" class="fw-bold" rel="noreferrer noopener"> Settings > Checkout > Order Processing > Additional Scripts</a>
|
<ul>
|
||||||
</p>
|
<li>
|
||||||
<kbd style="display: block; word-break: break-all;" class="bg-dark">
|
Add a payment method at <a href="@shopifyUrl/admin/settings/payments" class="alert-link fw-bold" target="_blank" rel="noreferrer noopener">Settings > Payments > Manual Payment Methods</a> with the name <strong>Bitcoin with BTCPay Server</strong>
|
||||||
@($"<script src='{Url.Action("ShopifyJavascript", "UIShopify", new { storeId = Context.GetRouteValue("storeId") }, Context.Request.Scheme)}'></script>")
|
</li>
|
||||||
</kbd>
|
<li>
|
||||||
|
Paste this script at <a href="@shopifyUrl/admin/settings/checkout#PolarisTextField1" class="fw-bold alert-link" target="_blank" rel="noreferrer noopener">Settings > Checkout > Order Processing > Additional Scripts</a>:
|
||||||
|
<pre class="mt-2 mb-0 text-wrap">@($"<script src='{Url.Action("ShopifyJavascript", "UIShopify", new { storeId = Context.GetRouteValue("storeId") }, Context.Request.Scheme)}'></script>")</pre>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<p class="alert alert-warning">
|
|
||||||
In Shopify please add a payment method at <a target="_blank" href="@shopifyUrl/admin/settings/payments" class="fw-bold" rel="noreferrer noopener"> Settings > Payments > Manual Payment Methods</a> with the name <kbd class="bg-dark">Bitcoin with BTCPay Server</kbd>
|
|
||||||
</p>
|
|
||||||
<p class="alert alert-success">
|
<p class="alert alert-success">
|
||||||
Orders on <b>@Model.ShopName</b>.myshopify.com will be marked as paid on successful invoice payment.
|
Orders on <b>@Model.ShopName</b>.myshopify.com will be marked as paid on successful invoice payment.
|
||||||
Started: @Model.IntegratedAt.Value.ToBrowserDate()
|
Started: @Model.IntegratedAt.Value.ToBrowserDate()
|
||||||
|
Loading…
Reference in New Issue
Block a user