I'm having the same issue with Xcode 13.4 and StoreKit 2: My in-app purchase for an auto renewing subscription works fine at the beginning, and when I set "interrupted purchase" in App Store Connect I get a dialog as expected telling me that I need to accept new conditions.
However, when I clear the "interrupted purchase" in App Store Connect, that has no effect except that now, after tapping on "OK" at the terms-and-conditions alert, I get a modal dialogue that says "Cannot Connect", with a "retry" button. [Tapping "retry" doesn't help]. At any rate my purchase fails.
Even stranger: I have 5 sandbox tester ids (let's call these sb1 through sb5) and this affects the original one, sb1. If I log out of sb1 and log in as sb2, which does NOT have interrupted purchase set, it acts as if the purchase HAS been interrupted. I have tried logging out and back in, deleting and rebuilding the app, changing the geographical region of sb1 (as suggested above), all to no avail.
Now if I log in to another of my accounts, sb3, which does NOT have interrupted purchase set, it behaves properly - the purchase succeeds. If I log out of sb3 and go back to sb1 its purchase continues to fail even though NONE of my tester accounts have interrupted purchase set.
Is it possible that, on interruption, there's an additional transaction or message I need to handle? But then why did sb3 work properly and sb2 didn't?
Topic:
App & System Services
SubTopic:
StoreKit
Tags: