Hi, I am testing payment on simulator. It worked previously but stopped. I am getting an error: <SKPaymentQueue: 0x600000031200>: Payment completed with error: Error Domain=ASDErrorDomain Code=530 "(null)" UserInfo={client-environment-type=Sandbox, storefront-country-code=USA, NSUnderlyingError=0x600000c61fe0 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed The authentication failed." UserInfo={NSMultipleUnderlyingErrorsKey=( "Error Domain=AMSErrorDomain Code=2 "Password reuse not available for account The account state does not support password reuse." UserInfo={NSDebugDescription=Password reuse not available for account The account state does not support password reuse., AMSDescription=Password reuse not available for account, AMSFailureReason=The account state does not support password reuse.}", "Error Domain=AMSErrorDomain Code=0 "Authentication Failed Encountered an unrecognized authentication failure." UserInfo={NSDebugDescription=Authentication Failed Encountered an unrecognized authentication failure., AMSDescription=Authentication Failed, AMSFailureReason=Encountered an unrecognized authentication failure.}" ), AMSDescription=Authentication Failed, NSDebugDescription=Authentication Failed The authentication failed., AMSFailureReason=The authentication failed.}}}
Problem with in-app payment on iphone simulator in Xcode
Hi, I am testing payment on simulator.
That is the expected behavior if you are testing in the sandbox. In this environment, you can fetch in-app purchase information in the Simulator. However, you cannot purchase them.
To test purchasing in-app purchases in the sandbox:
- Disable StoreKit Testing in Xcode if you use it in your Xcode project.
- Build and run your app on a device.
- When prompted to authenticate a purchase, use a sandbox Apple account.
For more information, see Testing at all stages of development with Xcode and the sandbox and Testing In-App Purchases with sandbox .
@DTS Engineer when did this change? IAP testing on iOS simulator was working here up until a few days ago.