re-formatted checkout page and fixed paid logic