Cannot accept Xcode StoreKit purchase dialog

I have a macOS app where I am testing the in app subscription purchase using Xcode.

When I trigger the purchase using this code, a dialog is shown in the upper right of my screen, which cannot be moved and just has a "cancel" button. How can I accept the test purchase?

let result = try await product.purchase()

Does the issue still occur?

@DTS Engineer

Yes it does still happen. I can give you my app name in the App Store that does this in both dev and release builds? Is there somewhere I can send you a DM?

This seems to be caused by not having any of your own app windows open, so the dialog tries to centre on the menu in the taskbar, and also hides the subscribe button for some reason.

Cannot accept Xcode StoreKit purchase dialog
 
 
Q