I'd recommend a middle way. Disclose the fee at the end, but have a progress indicator throughout the fill in process, where a step should be clearly labeled "Payment" or "Fee". That way, they can opt to continue the process and learn about the payment.