Everything looks quite alright. One thing though and I don’t speak french, I see that the app is in ‘production’ mode, not in alpha/beta.
(you can see it in the picture)
Did I make the right assumption?
by the way try not revealing your app google code, like you did in your picture and in your code, it should be private.
Second thing, did you try buying using google’s ’ android.test.purchased’ as an id instead of real purchase id?
Other things that jump into my mind:
- Did you create a new keystore for your app and used it to make your build? (may have nothing to do with your error, but still will remove other errors connected with duplication of apps using same keystore).
- Try creating a google group (in google groups), add an email of a friend that can help you test your purchase on his phone (by sending him/her an invitation) after he accepts go to google play console and add as a test group (the name of the group/address)
if app is in BETA mode or ALPHA mode then that is possible. shortly an link to your app will be available to you to send him, and he can try downloading it and testing it for you.