<divid="lockTimerSideLabel"class="snapshot-timer-label">Quote protected while you open wallet</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% else %}
{% else %}
@ -430,21 +420,11 @@
bindCountdown("lockTimerValue", "lockTimerLabel", lockTimer.dataset.expiry, "price has expired - please refresh your quote to update", "#walletPayButton");
bindCountdown("lockTimerValue", "lockTimerLabel", lockTimer.dataset.expiry, "price has expired - please refresh your quote to update", "#walletPayButton");
if (lockTimerSide && lockTimerSide.dataset.expiry) {
bindCountdown("lockTimerSideValue", "lockTimerSideLabel", lockTimerSide.dataset.expiry, "price has expired - please refresh your quote to update", "#walletPayButton");
if (processingTimer && processingTimer.dataset.expiry) {
if (processingTimer && processingTimer.dataset.expiry) {
bindCountdown("processingTimerValue", "processingTimerLabel", processingTimer.dataset.expiry, "price has expired - please refresh your quote to update", null);
bindCountdown("processingTimerValue", "processingTimerLabel", processingTimer.dataset.expiry, "price has expired - please refresh your quote to update", null);
if (processingTimerSide && processingTimerSide.dataset.expiry) {
bindCountdown("processingTimerSideValue", "processingTimerSideLabel", processingTimerSide.dataset.expiry, "price has expired - please refresh your quote to update", null);
}
function toHexBigIntFromDecimal(amountText, decimals) {
function toHexBigIntFromDecimal(amountText, decimals) {
const text = String(amountText || "0");
const text = String(amountText || "0");
const parts = text.split(".");
const parts = text.split(".");
@ -672,7 +652,7 @@ Reference: ${invoiceRef}`;
<script>
<script>
(function() {
(function() {
const processingAutoRefreshEnabled = {{ 'true' if pending_crypto_payment and (invoice.status or '')|lower != 'paid' else 'false' }};
const processingAutoRefreshEnabled = {{ 'true' if pending_crypto_payment and pending_crypto_payment.txid and (invoice.status or '')|lower != 'paid' else 'false' }};