How to diagnose the «We can't void the payment right now» failure?

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Controller/Adminhtml/Order/VoidPayment.php#L20-L30

So you can see a report about an internal exception in the exception.log file.

See also: