Android Question Billing - Getting receipt etc

tsteward

Well-Known Member
Licensed User
Longtime 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.

B4X:
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
 
Top