mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
Shopify: Improve instruction display (#5752)
This commit is contained in:
parent
335f345ce3
commit
c57e1cca25
@ -61,16 +61,17 @@
|
||||
@if (shopifyCredsSet)
|
||||
{
|
||||
<div class="alert alert-warning">
|
||||
<p>
|
||||
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>
|
||||
</p>
|
||||
<kbd style="display: block; word-break: break-all;" class="bg-dark">
|
||||
@($"<script src='{Url.Action("ShopifyJavascript", "UIShopify", new { storeId = Context.GetRouteValue("storeId") }, Context.Request.Scheme)}'></script>")
|
||||
</kbd>
|
||||
<h5 class="alert-heading">In Shopify, please do the following …</h5>
|
||||
<ul>
|
||||
<li>
|
||||
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>
|
||||
</li>
|
||||
<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>
|
||||
<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">
|
||||
Orders on <b>@Model.ShopName</b>.myshopify.com will be marked as paid on successful invoice payment.
|
||||
Started: @Model.IntegratedAt.Value.ToBrowserDate()
|
||||
|
Loading…
Reference in New Issue
Block a user