make payment_method and due_date optional, closes #4616