20130215 add payby logic