I read this:
https://www.b4x.com/android/forum/threads/inapp-billing-v3.31791/
My issue:
I made order, then cancel it from google play, it was 24hr ago
I do send:
and on:
but I am always getting "0" as purchased
this is from logcat:
true
(MyMap) {standard_user_1year=Purchase(type:subs): standard_user_1year, state = 0}
standard_user_1year, Purchased? 0
what is wrong?
https://www.b4x.com/android/forum/threads/inapp-billing-v3.31791/
My issue:
I made order, then cancel it from google play, it was 24hr ago
I do send:
B4X:
If BillManager.SubscriptionsSupported = True Then
BillManager.GetOwnedProducts
End If
and on:
B4X:
Sub BillManager_OwnedProducts (Success As Boolean, purchases As Map)
Log(Success)
If Success Then
Log(purchases)
For Each p As Purchase In purchases.Values
Log(p.ProductId & ", Purchased? " & (p.PurchaseState))
'0 - purchased, 1 - canceled, 2 - refunded
If p.PurchaseState = p.STATE_PURCHASED Then
Trial_Button.Visible = False
Else
Trial_Button.Visible = True
End If
Next
End If
End Sub
but I am always getting "0" as purchased
this is from logcat:
true
(MyMap) {standard_user_1year=Purchase(type:subs): standard_user_1year, state = 0}
standard_user_1year, Purchased? 0
what is wrong?