use a cached version of purchase_ids (bug 869715)