I know of a case where payment got cancelled: eBay found the seller fraudulent and refunded either out of pocket or from insurance, probably the latter.
That said, sometimes the licenses can indeed get cancelled. I’ve seen a really sketchy looking photocopied label that a guy “got” that didn’t work. Depends on the channel perhaps.
The ruling was appeal and a 2016 ruling in a higher court just confirmed that you can in fact resell software licenses.