Xcode 12 iOS 14 error purchase

When try buy product:

<SKPaymentQueue: 0x280569730>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x2809cb300 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, NSLocalizedFailureReason=The response has an invalid status code}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}

Post not yet marked as solved Up vote post of Lestad90 Down vote post of Lestad90
27k views

Replies

This solved it for me:

You must be signed in to the App Store with the same user as specified in:

Menu: Product > Scheme > Edit Scheme > Test > info > Debug Process as: appstoreusername

The same issue occurred in my App on Testflight. Sometimes It works well, and sometimes It doesn't work. I don't know that is Apple maintaining something?