purchasing flow fully working