successful purchase and unsuccessful purchase