Android Question Billing - Getting receipt etc

Discussion in 'Android Questions' started by tsteward, Feb 14, 2015.

  1. tsteward

    tsteward Active Member Licensed User

    From google billing is it possible to:
    • Get receipt numbers
    • Get subscription dates
    • Get notified of cancellations
    • Any other data we can extract.
    I can't see where the library access this info if at all.

    So far I just check as follows but not sure if subscription is canceled I will know.

    Code:
    Sub SubManager_OwnedProducts (Success As Boolean, purchases As Map)
    '   Log(Success)
       If Success Then
          
    Log(purchases)
          
    For Each p As Purchase In purchases.Values
              
    If p.ProductId = "laraplus" Then
                 subs = 
    True
             
    Else
                 subs = 
    False
             
    End If
          
    Next
       
    End If
    End Sub
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You will know as the subscribed product will not return in the map.
     
    tsteward 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