StoreKit 2 failure on tvOS 18.2

Please help! I have a subscription IAP failing on tvOS 18.2 at:

func makePurchase(_ product: Product) async throws
    {       
        let result = try await product.purchase() //ERROR OCCURS HERE (See error message below)
...

Xcode Console message: "Could not get confirmation scene ID for [insert my IAP id here]"

The IAP subscription was working fine on 18.1 and earlier, and the same IAP and code is also running fine on iOS 18.2. The tvOS error on 18.2 happens both in production and sandbox.

Are there any changes to StoreKit 2 which might cause this error?

I had this problem too on the simulator, but going back to 18.1 it worked fine. My app is mainly Objective C with calls to Swift to do the app transaction calls since StoreKit 2 is only for Swift.

I solved it for 18.2 by going in to the storyboard and looking at the transitions from my main screen to the purchase screen. In there I changed the segue Kind to "Present Modally" and also for the Presentation to be "Over Full Screen".

If you do these two settings it then works fine, or at least it did for me.

StoreKit 2 failure on tvOS 18.2
 
 
Q