Open pinheadmz opened 5 years ago
@placer14 You might want to look at the part of this where things got stuck.
@pinheadmz you can see unfunded orders, but you need to click the filter to show them in transactions, which is off by default.
We don't notify vendors because many buyers will buy something and then never pay for it, and vendors asked us to not tell them about those orders, since they were usually just abandoned.
That makes sense. It's a tough situation when the bitcoin node can't detect payments though ;-)
Yesterday I received a twitter DM that someone had made a purchase on my OB store. I had my OB client open the whole time and received no notification. Upon checking the
ob
log I noticed that my server had indeed received theORDER
messages, but I was not notified at all on the client.I restarted my server and the notifications popped back up, communicated with the buyer and everything is great! However, I know from being a moderator that this happens a lot: vendors are not getting notified about orders on their store, the buyer assumes they're a deadbeat and opens a dispute, which is the first time the vendor even knows the order happened at all.
Poking around a bit more, I think what happened is the server was still waiting for the bitcoin payment associated with the order. Looks like my OB server's bitcoin node was stuck on a block (after a reorg?) with no new log messages for over 3 hours -- of course, the exact window my customer made a purchase! In fact, looks like the node froze FIVE MINUTES before the order came in! SHEESH!
All I can think to say is, maybe the user should be notified about orders even before the payment comes through. At least then maybe a vendor could check out why the payment hasn't come through, check their blockchain height, etc.
Also maybe the UI could have an error message or warning, pretty simple just like if there's no new block for an hour or so, or no new log messages for 15 minutes, something to just inform the user they need to kick the tires.
ob.log
bitcoin.log -- unabridged, showing freeze and restart
bitcoin.log - after restart
ob.log - after restart