mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Fixing QR Code and Button to use BIP21
This commit is contained in:
@@ -159,7 +159,7 @@ namespace BTCPayServer.Controllers
|
|||||||
MerchantRefLink = invoice.RedirectURL ?? "/",
|
MerchantRefLink = invoice.RedirectURL ?? "/",
|
||||||
StoreName = store.StoreName,
|
StoreName = store.StoreName,
|
||||||
TxFees = cryptoData.TxFee.ToString(),
|
TxFees = cryptoData.TxFee.ToString(),
|
||||||
InvoiceBitcoinUrl = cryptoInfo.PaymentUrls.BIP72,
|
InvoiceBitcoinUrl = cryptoInfo.PaymentUrls.BIP21,
|
||||||
TxCount = accounting.TxCount,
|
TxCount = accounting.TxCount,
|
||||||
BtcPaid = accounting.Paid.ToString(),
|
BtcPaid = accounting.Paid.ToString(),
|
||||||
Status = invoice.Status
|
Status = invoice.Status
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
<div adjust-height="" class="payment-box">
|
<div adjust-height="" class="payment-box">
|
||||||
<div class="bp-view payment scan" id="scan">
|
<div class="bp-view payment scan" id="scan">
|
||||||
<div class="payment__scan">
|
<div class="payment__scan">
|
||||||
<qrcode :val="srvModel.btcAddress" :size="256" bg-color="#f5f5f7" fg-color="#000" />
|
<qrcode :val="srvModel.invoiceBitcoinUrl" :size="256" bg-color="#f5f5f7" fg-color="#000" />
|
||||||
</div>
|
</div>
|
||||||
<div class="payment__details__instruction__open-wallet">
|
<div class="payment__details__instruction__open-wallet">
|
||||||
<a class="payment__details__instruction__open-wallet__btn action-button" v-bind:href="srvModel.invoiceBitcoinUrl">
|
<a class="payment__details__instruction__open-wallet__btn action-button" v-bind:href="srvModel.invoiceBitcoinUrl">
|
||||||
|
|||||||
Reference in New Issue
Block a user