Android Question Google Billing Problem

Eugene Gilmore

New Member
Licensed User
Longtime User
Hi everyone.

I have a problem that I do not know how to tackle. I have managed to integrate Google Billing to the point that I can retrieve the subscription plans and display them as buttons for the user to select:

1733327582848.png

There is even a trial subscription which has disappeared after the trial time expired.

When I click on a button a LaunchBillingFlow is initiated and Google Play displays the selected option and
after confirming the selection, control is returned to App that processing the "PurchasesUpdated" event and
the purchase is completed.

Now, I would like to enquire from Google, which subscription has been made to activate according features.

Using QueryPurchases("subs")) all i get is that 1 purchase has been made and the name of the subscription,
but no information on the offer, which actually is the features to activate.

I read that there is no way to obtain the info. on what was ordered through Google Billing.

(I could save which button was pushed, but the app is transferred to another phone, that information is lost.)

To sum it up: How do I determine what was ordered?

I would so much appreciate any help.

Thanks so much in advance.

Regards
Gene
 
Last edited:
Top