[FIX] purchase: do not use deprecated api