refactored get_payment_month_from_form method