Fix for template error when posting a payment.