I created an unlockable product in Google Play, added billing permission to the manifest:
<uses-permission android:name="com.android.vending.BILLING"/>
and implemented billing in my application, but when I attempted to purchase the product first time I got error ‘This version of the application is not configured for billing through Google Play‘:

on one of my emulators:

My first idea was that it is probably something related to the application license key on Development Tools -> Services & APIs page of Google Play Console:

but actually it does not.
I was able to buy the product when I promoted the application release from Internal Test to Alpha and Beta:
Links
- An answer on stackoverflow.com.
This version of the application is not cunfigurd for billing through google play check the help center for more information
IT WON’T WORK WHEN I BUY
This version of application is not confirmed for billing through Google Play. Check the help center for more information