Require name and cost when creating a purchase.