Yes 1.0.8, It's not really your fault, but I'm surprised no one else encounters this. maybe they don't handle as many payments as I do? but every day or 2 there is this race condition. I'm debating marking finished when the webhook comes and avoid the API call.
Hello. The issue is Nowpayments sends a web hook stating the transaction is finished... but then your code immediately checks their API and that lags behind and sometimes states confirming, waiting or confirmed. You do nothing to the transaction, and then it sits there forever unconfirmed.
Hello. After doing an audit of some payments I have noticed that some payments marked as partial, or even failed or processing in invision as complete. As a test I paid for a $30 order with $1. Nowpayments indicated that the transaction failed however in invision the payment was completed properly and I was given the access to the purchase.