If someone was certain that fasting is not obligatory on him, there is no kaffara on him nor is any fidya payable. However, Qadha is obligatory on him.