Hi,
I’m new in the forum, although have been reading it for a long time.
I couldn’t find the answer to my question, so I decided to create a thread asking for support.
This is my situation:
In my app I offer a subscription with premium features. Looking at Googles scheme, this is a subscription. Under this subscription, I created two base plans:
ID: mensalteste01 - Monthly paid base plan;
ID: anualteste01 - Annually paid base plan;
They’re both active. No offers.
The thing is: What is the expected behavior? How should I direction the IAP buttons for the user to choose between base plans?
What I already tested:
If I add to the IAP button the subscriptionID, it works, but will only show the monthly paid plan;
If I add to the IAP button the subscriptionID.mensalteste01 or subscriptionID.anualteste01, I get:
W/Unity: Unavailable product com.xxx.yyy.zzz.anualteste01-com.xxx.yyy.zzz.anualteste01
UnityEngine.Purchasing.PurchasingManager:HasAvailableProductsToPurchase(Boolean)
UnityEngine.Purchasing.PurchasingManager:CheckForInitialization()
UnityEngine.Purchasing.PurchasingManager:OnProductsRetrieved(List`1)
System.Action:Invoke()
UnityEngine.Purchasing.Extension.UnityUtil:Update()
If I deactivate the monthly paid base plan (therefor letting only the annually paid plan active), Google shows the user a message of content unavailable for your region.
BUT if I only create one base plan for the subscription, it works, regardless of being monthly or annually paid.
To finish my long question: How do I implement the IAP buttons so that the user is able to choose between two base plans?
Thanks in advance
Sorry for any spelling mistakes.
Currently using Unity 2020.3.32f1,
IAP version 4.5.0
We are working on supporting Google Play Billing Library v4/v5 base plan subscription features in a future release, hopefully later this year or Q1 of next year. In my testing, I was only able to get auto-renewing subscriptions working from a single base plan.
That is correct. In my tests it all works just fine for a single plan.
No worries, I appreciate your fast reply. I’ll be offering only one single base plan until this is implemented.
Thank you Jeff.
Hello! Can you please provide an update on this matter? Recently, I also need to work on the issue of multiple base plans within one subscription id on Android.