Multiple base plans in one subscription, how to select one in Solar2D?

I’m currently implementing subscriptions in one of my apps using the Google IAP Billing v2 plugin in Solar2D, and I’ve run into something I don’t fully understand.

In the Play Console, I created a subscription product with a single product ID, and inside it I defined multiple base plans (weekly, monthly, yearly). From what I understand, this is the recommended way in the newer Google Play system.

The issue is that in Solar2D, when calling:

store.purchaseSubscription(productId)

I only see that I can pass the product ID, but there doesn’t seem to be any way to specify which base plan (weekly, monthly, yearly) the user wants to purchase.

So my questions are:

Is there currently a way in Solar2D to select a specific base plan when purchasing a subscription?

If not, how are you handling multiple plans like weekly, monthly, yearly within a single subscription product?

Are base plans fully supported by the plugin, or is the expected approach still to create separate product IDs for each plan?

I’d really prefer to keep everything within the Solar2D workflow if possible, so I’m hoping I’m just missing something.

Thanks in advance for any guidance!

Hello @aclementerodrguez ,

I have arrived to the same conclusion : when I create a subscription with only basic plan then the id related to the product is similar to every offers unless there are differents ids per offers.

I think that to handle multiple offers of one subscription there is no others possibilities to create a whole new subscription and also to remind the player to cancel the previous subscription if the new one offers the same benefits, with only a different price and duration.

I have implemented 1 subscription on my recent game “Choco Math” ( Do you love Chocolate? ) with a classical offer of x € per month only and it simplify the process.

The multiple handling of subscription is I think not still available on Solar2d.