android - How to get orderId for an autorenewable transaction using Google Play Developer API? -


i've developed android application, in inapp subscription done play store billing version v3. , implemented google play developer api retrieve subscription status whether autorenewable or not.

the method of google play developer api returns autorenewable status along other details such expiry time, start time etc. couldn't find possible solution retrieve order id of subscription used backend processing. transaction id google play developer api from?

thanks in advance.

you don't need orderid, need "base orderid" , can generate current orderid starttime , expiretime

from developer android (https://developer.android.com/google/play/billing/billing_subscriptions.html#administering):

subscription order numbers

to track transactions relating given subscription, google payments provides base merchant order number recurrences of subscription , denotes each recurring transaction appending integer follows:

gpa.1234-5678-9012-34567 (base order number)

gpa.1234-5678-9012-34567..0 (first recurrence orderid)

gpa.1234-5678-9012-34567..1 (second recurrence orderid)

gpa.1234-5678-9012-34567..2 (third recurrence orderid)


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -