store purchases in redis