diff --git a/resources/views/portal/ninja2020/gateways/blockonomics/pay.blade.php b/resources/views/portal/ninja2020/gateways/blockonomics/pay.blade.php
index 34e1e480db65..baf8bc44ac71 100644
--- a/resources/views/portal/ninja2020/gateways/blockonomics/pay.blade.php
+++ b/resources/views/portal/ninja2020/gateways/blockonomics/pay.blade.php
@@ -4,12 +4,11 @@
Invoice #{{$invoice_number}}
To pay, send exactly this BTC amount
@@ -104,9 +103,9 @@
console.log('Payment status:', data.status);
const isPaymentUnconfirmed = data.status === 0;
const isPaymentPartiallyConfirmed = data.status === 1;
- const isPaymentConfirmed = data.status === 2;
- const shouldSubmitForm = isPaymentUnconfirmed || isPaymentConfirmed || isPaymentPartiallyConfirmed;
- if (shouldSubmitForm) {
+ // TODO: Do we need to handle Payment confirmed status?
+ // This usually takes too long to happen, so we can just wait for the unconfirmed status?
+ if (isPaymentUnconfirmed || isPaymentPartiallyConfirmed) {
document.querySelector('input[name="txid"]').value = data.txid || '';
document.getElementById('server-response').submit();
}
@@ -164,7 +163,7 @@
transform: translateY(-50%);
cursor: pointer;
}
- .progress-message {
+ /* .progress-message {
display: none;
margin: 90px 0;
max-width: 400px;
@@ -174,7 +173,7 @@
#link {
color: #007bff;
text-decoration: underline;
- }
+ } */