Hook An Android Applications Package Config And Set It As You Want.
Inside of build.gradle the versionCode, versionName, and applicationId are set.
You can change the versionCode, versionName, and applicationId (another name for packageName) to whatever you like as done inside of here
By changing the versionCode, versionName, and applicationId you can use Google Play In-App Purchases even when the info is not the same as declared in the Google Play Developer Console.