use getrefundstatus if transaction is marked pending refund (bug 821900)