I am getting the below error for sandbox testing while test in app purchase
you are not authorized to make purchases of this in app in sandbox at this time
How to avoid this error
Expired credit cards or old billing addresses are a common reason for payments not to work properly. - Try a different payment method. If you're trying to make an in-app purchase but the transaction is declined or the payment won't go through, try to change your payment method.
Create a Sandbox Tester AccountSign in to App Store Connect. On the homepage, click Users and Access. Under Sandbox, click Testers. Click “+” to set up your tester accounts.
Make sure of the following:
1. The test account created is from the same developer portal from which you generated your provisioning profile.
2. The test account still exists and was not deleted from there.
3. Use the same identifier for which you created the in-app purchase for your app in iTunesConnect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With