Flutter app no subscription found.

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;
  }

Thanks for your post. Looks like you are using Flutter instead of Xcode. Very interesting question.

You should check with the support resources provided by the 3rd party to get assistance with their software.

Unless another developer in the forums has experience with the third-party and can provide assistance.

Wish you luck!

Albert Pascual
  Worldwide Developer Relations.

Flutter app no subscription found.
 
 
Q