June 17, 2021

Software Mile.com

Latest Software News and Hacks

SKPaymentQueue transaction fails with ASDServerErrorDomain Code=5002 in sandbox

Suddenly in-app purchases are failing in the sandbox with the error code:

<SKPaymentQueue: 0x283f14fd0>: Payment completed with error: 
Error Domain=ASDServerErrorDomain Code=5002 "An unknown error has occurred" 
UserInfo={NSLocalizedDescription=An unknown error has occurred}

I’m using real devices (one running iOS 14.4 the other one iOS 14.5 (beta 7))…to answer this similar question.
I’m deploying with Xcode 12.4 / Xcode 12.5 (beta 3)…to answer this similar question.
I have no changes in my code nor changed the in-app purchases.
Same error appears also when testing via TestFlight

What does this error mean? Where can I find information about this? How can this be fixed?

Any help appreciated 🙂


Go to Source of this post
Author Of this post: themenace
Title Of post: SKPaymentQueue transaction fails with ASDServerErrorDomain Code=5002 in sandbox
Author Link: {authorlink}