diff --git a/src/components/bitcoinConnect/SubscriptionPaymentButton.js b/src/components/bitcoinConnect/SubscriptionPaymentButton.js index a951b29..921d6a8 100644 --- a/src/components/bitcoinConnect/SubscriptionPaymentButton.js +++ b/src/components/bitcoinConnect/SubscriptionPaymentButton.js @@ -49,7 +49,7 @@ const SubscriptionPaymentButtons = ({ intervalId = setInterval(async () => { try { const paid = await invoice.verifyPayment(); - if (paid && invoice.preimage) { + if (paid) { clearInterval(intervalId); // handle success onSuccess();