Fixes for DoDirectPayment.