we are using the following cashondelivery.php : http://pastebin.com/iD28fF2F
here we restricted only some zip codes for allowing cash on delivery payment method, means what zip codes we entered in following file,
if we enter those zip codes than only
cash on delivery payment method will display,
if we enter other zip codes
cash on delivery payment method will not display . but we have to
display the error message "cash on delivery is not available"
how we can achieve this....