Skip to main content

Subscription works in testflight, not production. IAP approved for over 48 hours.

  • August 30, 2021
  • 12 replies
  • 2503 views

Forum|alt.badge.img+6

I am unable to load an IAP/subscription after it has been approved for over 48 hours.
Ā 

Left a comment on an older post, but wanted to make a second thread for visibility. (Hope that’s cool) If I run the app on simulator, a local device, or test flight everything loadsĀ perfect.

  • Subscription has been approved for over 48 hours.
  • SubscriptionĀ loads fine on local/testflight.
  • Filled out all agreements.

App is in pending developer release.Ā I downloaded the app from the app store with a generatedĀ code, and in app purchases do not work.

I ran the production app and pluggedĀ my phone in to view the console. Still getting ā€œCould not find SkProduct for ( ā€œmy_product_nameā€)Ā There is a problem with your configurationā€, but only in production.Ā ā€œmy_product_nameā€ is not in the actual log, I did not include my real product name.

Ā 

I was wondering if there is anything I could still be missing, or do I need to wait longer?Ā The in app purchase was approved on Saturday at 11 AM. It is not Monday, 6:45 PM.

Any help is greatly appreciated, thanks guys!

This post has been closed for comments

12 replies

Forum|alt.badge.img+6
  • Author
  • Helper
  • August 31, 2021

I can’t edit my post, so added some more info. Here are the logs from my production app:
Ā 

default	20:40:24.434202-0400	Runner	[Purchases] - DEBUG: ā„¹ļø API request completed with status: GET /v1/subscribers/********/offerings 200
default 20:40:24.434345-0400 Runner [Purchases] - DEBUG: ā„¹ļø Requesting products from the store with identifiers: {(
"burntbase_monthly"

)}
default 20:40:24.598733-0400 Runner [Purchases] - DEBUG: ā„¹ļø Products request finished.
default 20:40:24.598833-0400 Runner [Purchases] - DEBUG: šŸ’° Retrieved SKProducts:
default 20:40:24.599008-0400 Runner [Purchases] - WARN: šŸŽā€¼ļø Invalid Product Identifiers - (
"burntbase_monthly"
)
default 20:40:24.599173-0400 Runner [Purchases] - DEBUG: ā„¹ļø 1 completion handlers waiting on products
default 20:40:24.599379-0400 Runner [Purchases] - WARN: šŸŽā€¼ļø Could not find SKProduct for (
"burntbase_monthly"
)
There is a problem with your configuration in App Store Connect.
More info here: https://errors.rev.cat/configuring-products
default 20:40:24.606324-0400 Runner [Purchases] - DEBUG: ā„¹ļø Vending PurchaserInfo from cache.
default 20:40:40.833985-0400 Runner [Purchases] - DEBUG: ā„¹ļø Vending Offerings from cache
default 20:40:40.836437-0400 Runner [VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: type 'Null' is not a subtype of type 'Package' in type cast
#0 RevenueCatService.purchase (package:bbflutter/services/revenue_cat_service.dart:8)
<asynchronous suspension>
default 20:40:42.304882-0400 Runner [Purchases] - DEBUG: ā„¹ļø Vending Offerings from cache

Here is it working in sandbox (same behavior in testflight):

Ā 

Here is the in-app purchases approved Saturday morning:
Ā 

Agreements signed:
Ā 

Ā 


cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • August 31, 2021

Hey @BurntBase! šŸ‘‹

If the app has never been released on the App Store, it must be released before in-app purchases will work in production, even if you download with a code. We recommend releasing, then waiting up to 24 hours to ensure purchases work as expected before starting marketing/release campaigns.

After the app has been released, additional products you may add in the future don’t require an app update to work after being approved by Apple (it’s usually just the first, initial release that causes the delay).


Forum|alt.badge.img+6
  • Author
  • Helper
  • August 31, 2021

@codyĀ ahh thank you! Releasing now, I was really confused about this one. I was going off this blog post:Ā https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#productionĀ and did not realize I had to release first.Ā I will post an update in this thread in 24-48 hours to confirm.


Forum|alt.badge.img+6
  • Author
  • Helper
  • August 31, 2021

@codyĀ Update, released the app and in-app purchases instantly worked. Thank you guys again for the awesome product and appreciate the support!


Forum|alt.badge.img+2

@BurntBaseĀ and @codyĀ what are the steps to take to ā€œreleaseā€.Ā  My app is live in the app store, but the in-app purchases don’t work.Ā Ā 

Ā 


Forum|alt.badge.img+3
  • Member
  • August 28, 2022

@Helen RonnenberghĀ - Did you find a solution?

Ā 

Does anyone know how to associated the IAP to the version page after the first submission is rejected?

Ā 

Problem

MyĀ Subscription IAP is locked in a ā€œDeveloper Action Neededā€ state.

Ā 

Why?

The initial App Version, 4.0.2, and associated SubscriptionĀ was rejected because it did not have a ā€œRestore Purchaseā€ link.

Ā 

What did we do next?

We produced 4.0.3 that includes a Restore Purchase link.

Ā 

Blocker

I can no longer associated the Subscription to the new version because ā€œDeveloper Action Neededā€ is blocking the association, we believe.

Changing the Subscription name to reflect a change does not move it out of Developer Action Needed to ā€œPrepare for Submissionā€

Ā 

Notes

Apple states on the Subscription, ā€œCreate your subscription, then select it from the app’s In-App Purchase and Subscriptions section on the version page before submitting the version to App Review.ā€

However, I cannot select it from the version page because it isĀ ā€œDeveloper Action Neededā€

Ā 

Update

August 28, 17:26 - The app has been approved for over 24 hours and the Subscription link on the popup page does not work in Production. Ā It does work in Test Flight.


Forum|alt.badge.img+2

@Chris WilkeĀ no unfortunately not, I wrote to Revenuecat support as well but didn't receive a reply.Ā  Ā  I’m still waiting for Apple to get back to me, they approved the App and the inapp purchase but not the subscription.Ā  But I can’t see why not.Ā  I also a status ā€œDeveloper action requiredā€


Forum|alt.badge.img+3
  • Member
  • August 29, 2022

@Helen RonnenberghĀ - Here is what I am trying and the history that led to it:

History

  1. Create first Subscription (in-app-purchase) and appropriate metadata for the app
  2. AssociateĀ Subscription with new build on Version screen
  3. Submit Version with Subscription
  4. Version rejected due to missing metadata and Privacy Policy on Subscription page

Problem: Deadlock - Can no longer resubmit the Subscription because it is not ā€œselectableā€ anymore

If this is the first in-app-purchase for the app AND it is rejected on the FIRST submission, it is dead.

Ā 

Impact

My subsequent fix to theĀ app was approved, but since my Subscription was in a ā€œDeveloper Action Neededā€ state, it is not connected in Production. Ā This left me with a Production app and no subscription option.

Ā 

Next Attempt to Fix It:

I created a new Subscription with the same ID but added a ā€œ2ā€ to the end.

I updated the app to use the new subscription ID and I resubmitting that bundle tonight.

Ā 

Resources

https://developer.apple.com/forums/thread/13324

I am not sure if this is true, but in the above link, I found this:

ā€œThe other problem is that when an in-app purchase is submitted for review, and gets returned to you for "correction", it is impossible to re-submit it back to the store because there is no way to fix the corrections and the newly submitted version won't update to re-send the in-app purchases with the current app version you want to be submitted. This is a technical problem on Apple's side. The only way to fix it is for Apple to go in their and manually fix it.ā€

Ā 

Ā 

I am not sure Apple can manually ā€œfix it,ā€ so I am just recreating the Subscription and resubmitting.

Ā 


Forum|alt.badge.img+3
  • Member
  • August 30, 2022

@Helen RonnenberghĀ 

My app is now working in Production.

I had to do these three things:

  1. I had to create a new Subscription Product Id in the App Store
  2. I had to update the Product Id in the Products section in RevenueCat
  3. I had to ā€œAttachā€Ā the new product to the Entitlements

I also ā€œMade Currentā€ the Offering that contained the products.

Ā 

Why did this work?

If Apple rejects your IAP the first time it is submitted, it appears to be ā€œdeadā€ and you have to create a new one.

Once that was complete, I had to ensure this Product Id was associated to the App and Entitlement in RevenueCat.


Forum|alt.badge.img+2

Thanks @Chris WilkeĀ I got it to work by doing what you suggested.Ā  THANK YOU!


Forum|alt.badge.img+3

fyi...i’ve run into this twice now where apple does approve the app and the subscription after an initial rejection (once because the reviewer simply missed where my terms of service link was).Ā  that rejection ā€˜sticks’ on the subscription and despite getting a specific email from appstore connect saying the subscription itself is approved...it never works in production no matter how long i wait.Ā  only way to ā€˜unstick it’ as per above is to blow it away and pray you get through the review the first time clean.Ā  coo-koo...


Forum|alt.badge.img+6
  • Member
  • November 29, 2022

fyi...i’ve run into this twice now where apple does approve the app and the subscription after an initial rejection (once because the reviewer simply missed where my terms of service link was).Ā  that rejection ā€˜sticks’ on the subscription and despite getting a specific email from appstore connect saying the subscription itself is approved...it never works in production no matter how long i wait.Ā  only way to ā€˜unstick it’ as per above is to blow it away and pray you get through the review the first time clean.Ā  coo-koo...

I’m having the same problem right now. My app was initially rejected, now approved but the subscriptions are still ā€œwaiting for reviewā€.Ā 

Have you tried to contact the support? I’m waiting for 2 days already and have not heard from them.Ā 

I was hoping that they can fix it, I mean I have an email that the products were approved and the app is already running in production.