In-App Purchases / Restores Currently Fail in Sandbox Environment

Attempts to purchase an SKProduct or restore all completed transactions via the usual method calls in StoreKit leads to failure in the beta environment with the following error:

Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x300b10210 {Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x300b10090 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://sandbox.itunes.apple.com/WebObjects/MZBuy.woa/wa/inAppBuy?REDACTED, AMSStatusCode=500, NSLocalizedFailureReason=The response has an invalid status code}}}}}

We've tried with existing sandbox user accounts, and created fresh ones which also fail in a similar way. Our beta testers report the same thing. Nothing has changed in our IAP code, and this started happening about 24-48 hours ago.

It seems to be a server-side error - please can someone verify on Apple's side?

Could you please file a ticket in Feedback Assistant (feedbackassistant.apple.com) and include the time of request, app and user account(s) used with which you experienced this issue, then post the FB number here.

Sure thing, I did it at the same time I made this post:

Jun 15, 2024 at 6:34 PM – FB13918574 Developer Account: Horsie in the Hedge Limited App Name: Werble: Photo & Video Animator. App Id: 966009633

Thanks for your help.

In-App Purchases / Restores Currently Fail in Sandbox Environment
 
 
Q