user1085665
user1085665

Reputation:

No results for in app purchase product query with Flutter app on Google Play Store

UPDATE: Works now. I don't know why I did not change anything. Maybe Google needs more time these days...

I am struggling to query products for my android app. The app is created with Flutter and uses the official In App Purchase Plugin. I assume it is a configuration problem on Google Play Store. In the past, I succeeded in writing apps that can access in-app products with this setup.

Query:

var productsResponse = await InAppPurchaseConnection.instance
    .queryProductDetails({_registrationId, _subscriptionId});

Result:

enter image description here

App configuration on Google Play:

Some remarks:

Does anyone have any hints for me? It could be something totally stupid I just don't see at the moment.

Thanks for any help!

UPDATE: I upgraded the app to the alpha track, sadly results didn't change. It does not seem to be track related.

Upvotes: 4

Views: 2074

Answers (1)

MartinP
MartinP

Reputation: 77

Keep in mind to use the product id of the subscription group, not of the subscription offer.

Here you see what I mean in the subscription settings of the play store console.

Image showing illustrating that there is a product id for a subscription group and a ID for each subscription duration

Upvotes: 2

Related Questions