Fixing unused import and adding async version of getProductId