I bought the full version of the game, but the cars did not become available. Sometimes the game returned a purchase error.

Sometimes Google servers return an incorrect response when purchases are made. If the payment goes through and you received a receipt from Google Play, then delete the game from the device, restart the device, and reinstall the game. The purchase should be restored automatically upon starting.