Added support for manual payment.