Purchase return clear function