I already created subscription in appstore connect with proper metadata still when I am using product id to purchase the subscription using flutter package in_app_purchase: ^3.2.3 it say's no subscription found with product id x.
I observed everything minutely all seems fine than why ?? I try to test with storekit that works btw.
I also have sandbox account and same signed in my iPhone 12 mini but much please look into this..
Flutter code :
Future<void> _loadSubscriptions() async {
Set<String> kSubscriptionIds = {'monthly_plan_test_iop_81'};
ProductDetailsResponse response =
await _inAppPurchase.queryProductDetails(kSubscriptionIds);
if (response.notFoundIDs.isNotEmpty) {
kLog("Subscription IDs not found: ${response.notFoundIDs}");
}
kLog("God it works seriously");
kLog(response.notFoundIDs);
kLog(response.productDetails);
kLog(response.error);
subscriptions.value = response.productDetails;
}