Hi,
I was using the old Google Play Billing in the past (InAppBilling3) and was working fine and now Google requires me to upgrade to v4 or above.
I managed to get the new version to work with my app using GooglePlayBilling (v5.00) using the code below.
However, how can I get the currency using the new GooglePlayBilling (v5.00) ?
I was using the old Google Play Billing in the past (InAppBilling3) and was working fine and now Google requires me to upgrade to v4 or above.
I managed to get the new version to work with my app using GooglePlayBilling (v5.00) using the code below.
B4X:
Sub Initialize_Inapp_billing
billing.Initialize("billing")
Get_SKU_Item_Details
End Sub
Sub Get_SKU_Item_Details
Wait For (billing.ConnectIfNeeded) Billing_Connected (Result As BillingResult)
If Result.IsSuccess Then
Dim sf As Object = billing.QuerySkuDetails("inapp", Array("sku1", "sku2", "sku3"))
Wait For (sf) Billing_SkuQueryCompleted (Result As BillingResult, SkuDetails As List)
For Each sk As SkuDetails In SkuDetails
Log(sk.Title)
Log(sk.Price)
Log(sk.Sku)
Log(sk.Description)
Next
End If
End Sub
However, how can I get the currency using the new GooglePlayBilling (v5.00) ?