confirm purchase controller