Hi,
I have three types of subscriptions, each with two base plans. For example subscription Gold with two plans, 12-gold and 6-gold.
If both subscriptions are active, LaunchBillingFlow(GooglePay.Billing, SkuDetails.Get(0), "") only shows me the 6-gold plan.
How can I specify which plan I want to refer to?
Thank you!
I have three types of subscriptions, each with two base plans. For example subscription Gold with two plans, 12-gold and 6-gold.
If both subscriptions are active, LaunchBillingFlow(GooglePay.Billing, SkuDetails.Get(0), "") only shows me the 6-gold plan.
How can I specify which plan I want to refer to?
Thank you!
B4X:
Wait For (GooglePay.Billing.ConnectIfNeeded) Billing_Connected (Result As BillingResult)
If Result.IsSuccess Then
Dim SF As Object = GooglePay.Billing.QuerySkuDetails("subs", Array(GooglePay.ADS_SDK_ID))
Wait For (SF) Billing_SkuQueryCompleted (Result As BillingResult, SkuDetails As List)
If Result.IsSuccess And SkuDetails.Size = 1 Then
Result = LaunchBillingFlow(GooglePay.Billing, SkuDetails.Get(0), "")
Log(SkuDetails.Get(0))
If Result.IsSuccess Then Return
End If
End If
ToastMessageShow("Error starting billing process", True)