20140530 end of day

implemented payment status function