prepareLicenseCallback