purchaseToken from In-App billing?

Discussion in 'Android Questions' started by dimartinoentertainment, Jul 2, 2013.

  1. dimartinoentertainment

    dimartinoentertainment Member Licensed User

    Hi

    Is there a way to get the purchaseToken of a just bought in-app product ?
    Because I would like to check if the purchase is valid ONLY when I buy a in-app product (Like mentioned in the Google Android docs). This check happens on my server side.

    Thanks in advance.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can use Reflection to access the mToken field:
    Code:
    Dim r As Reflector
    r.Target = Product
    Dim token As String = r.GetField("mToken")
    I assume that you are asking about InAppBillingv3.
     
    hatzisn likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice