I like to use the implementation for the BillingService from the Microsoft GitHub. I have a question about the Android implementation.

When the procedure reads the BillingClient.ProductType.Inapp, the list of products from the store is fine. In the Google Play Console, to define a subscription, there are 2 steps. In the first one, I define the name and Id of the subscription.

enter image description here

And then, I can define one or more plans.

enter image description here

When the query is built in the function GetPlatformProductsAsync for BillingService.Android.cs, I changed it like this code:

foreach (var product in baseProducts) { var queryProduct = QueryProductDetailsParams.Product.NewBuilder() .SetProductId(product.Id) .SetProductType(BillingClient.ProductType.Subs) .Build(); productList.Add(queryProduct); }

The query find the main subscription (liuannual1) but not the plans (base1 and base12). How do I have to refer to them in order to find them?

Enrico's user avatar

1

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.