- I am using version 1.0.6 of in_app_purchase.
- Set up a subscription with id base_mobile in-play console with monthly billing, 14-day free trial
- The app is published to internal testing in-play console
I am able to fetch the products using final ProductDetailsResponse response = await iapConnection.queryProductDetails(_ids);
The main problem is not being able to test the free trial. On trying to buy a subscription as a non-consumable using the following code:
await iapConnection.buyNonConsumable(purchaseParam: purchaseParam);
pops up the following dialog:
I am not able to opt-in for the free trial. No option is shown. Also, the subscription is not automatically renewable. According to my understanding, subscriptions should be renewable as per the interval of the billing period.
I even tried out installing the app from another play account which is not a licensed tester. It's the same issue, the amount was deducted immediately without the possibility of a free trial. The subscription also was not cancellable in the play store.
Do have any of my setup wrong?