SwiftyStoreKit
SwiftyStoreKit copied to clipboard
SwiftyStoreKit.purchaseProduct method always return 'unknown error'
Question
Please, who can help me? What is the problem? <SKPaymentQueue: 0x280c18740>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x280070270 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x2800703c0 {Error Domain=AMSErrorDomain Code=0 "Authentication Failed" UserInfo={NSLocalizedDescription=Authentication Failed, NSLocalizedFailureReason=Encountered an unrecognized authentication failure.}}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}
I'm having this issue too
I'm having this issue too
Looks related to https://developer.apple.com/forums/thread/661351
I'm having this issue too. Does anyone know a workaround or What the reason could be ?
You have an authentication error. Are you sure you're using the right environment (Sandbox or Production mode)?
I figured it out. I was logged into my main apple id in the sandbox environment. To fix that, generate a sandbox apple id in app store connect, then login to the sandbox apple id you just created by going to Settings->App Store->Sandbox Account.
I figured it out. I was logged into my main apple id in the sandbox environment. To fix that, generate a sandbox apple id in app store connect, then login to the sandbox apple id you just created by going to Settings->App Store->Sandbox Account.
correct
The issue got resolved on its own after waiting for one day. That was some kind of weird error from apple servers. Thanks for the support.
One thing that can cause this error is having a subscription without a duration set in App Store Connect.
Its possible to go through the flow and set the price without a duration for some reason.
One thing that can cause this error is having a subscription without a duration set in App Store Connect.
Its possible to go through the flow and set the price without a duration for some reason.
Thank you!!!
One thing that can cause this error is having a subscription without a duration set in App Store Connect.
Its possible to go through the flow and set the price without a duration for some reason.
Thank you!
One thing that can cause this error is having a subscription without a duration set in App Store Connect.
Its possible to go through the flow and set the price without a duration for some reason.
oh haha
thank you
the mistake is stupid by myself