Skip to content

Commit

Permalink
Merge branch 'WARN-InvalidProductIdentifiers' into develop - Improved…
Browse files Browse the repository at this point in the history
… after comments
  • Loading branch information
Lutik-sun committed Nov 7, 2024
2 parents 4e4bd0b + 9539ba0 commit 561dc79
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 6 additions & 2 deletions versioned_docs/version-3.0/InvalidProductIdentifiers.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
<<<<<<< HEAD
title: "Fix for Code-1000 `noProductIDsFound` error and `InvalidProductIdentifiers` warning"
=======
title: "Fix for Code-1000 `noProductIDsFound` error"
>>>>>>> WARN-InvalidProductIdentifiers
description: ""
metadataTitle: ""
---
Expand All @@ -9,9 +13,9 @@ import Details from '@site/src/components/Details';
import Zoom from 'react-medium-image-zoom';
import 'react-medium-image-zoom/dist/styles.css';

This `InvalidProductIdentifiers` warning means that at least one of the products on the paywall isn’t available in the App Store, even though it’s listed there. If none of the products are available, you’ll get a 1000-code error: `noProductIDsFound`. If you don’t see an error, you can safely ignore the warning.
The 1000-code error, `noProductIDsFound`, indicates that none of the products you requested on the paywall are available for purchase in the App Store, even though they’re listed there. This error may sometimes come with an `InvalidProductIdentifiers` warning. If the warning appears without an error, ignore it.

If you are encountering this error, please follow the steps below to resolve it:
If you’re encountering the `noProductIDsFound` error, follow these steps to resolve it:

## Step 1. Check your iOS version

Expand Down
9 changes: 4 additions & 5 deletions versioned_docs/version-3.0/ios-sdk-error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Adapty.makePurchase(product: product) { result in
| [invalidSignature](https://developer.apple.com/documentation/storekit/skerror/code/invalidsignature) | 12 | This error code indicates that the signature in a payment discount is not valid. |
| [missingOfferParams](https://developer.apple.com/documentation/storekit/skerror/code/missingofferparams) | 13 | This error code indicates that parameters are missing in a payment discount. |
| [invalidOfferPrice](https://developer.apple.com/documentation/storekit/skerror/code/invalidofferprice/) | 14 | This error code indicates that the price you specified in App Store Connect is no longer valid. Offers must always represent a discounted price. |
| noProductIDsFound | 1000 | <p>This error means that none of the products on the paywall are available in the store. You may also see the warning `InvalidProductIdentifiers` in your logs.</p><p>If you’re encountering this error, follow the steps in the [Fix for Code-1000 `noProductIDsFound` error and `InvalidProductIdentifiers` warning](https://dev-docs.adapty.io/docs/InvalidProductIdentifiers) section.</p> |
| noProductIDsFound | 1000 | <p>This error indicates that none of the products you requested on the paywall are available for purchase in the App Store, even though they’re listed there. This error may sometimes come with an `InvalidProductIdentifiers` warning. If the warning appears without an error, ignore it.</p><p>If you’re encountering this error, follow the steps in the [Fix for Code-1000 `noProductIDsFound` error](https://dev-docs.adapty.io/docs/InvalidProductIdentifiers) section.</p> |
| noProductsFound | 1001 | This error indicates that the product requested for purchase is not available in the store. |
| productRequestFailed | 1002 | Unable to fetch available products at the moment. |
| cantMakePayments | 1003 | In-app purchases are not allowed on this device. |
Expand Down Expand Up @@ -85,9 +85,8 @@ Adapty.makePurchase(product: product) { result in

## Warnings

Warnings do not require to be fixed if they did not result in errors. If you still want to remove them, follow our instructions below:
Warnings don’t need to be fixed unless they lead to errors.

| Warning | Solution |
<!--- | Warning | Solution |
| ------------------------- | ------------------------------------------------------------ |
| InvalidProductIdentifiers | <p>This warning means that some products on the paywall are available in the store but aren’t ready for purchase. This usually happens if you haven’t completed the configuration of your products in the App Store.</p><p>If this doesn’t cause any errors, you can ignore the warning. However, if you want to remove it, follow the steps in the [Fix for Code-1000 `noProductIDsFound` error and `InvalidProductIdentifiers` warning](https://dev-docs.adapty.io/docs/InvalidProductIdentifiers) section.</p> |

| InvalidProductIdentifiers | <p>This warning means that some products on the paywall are available in the store but aren’t ready for purchase. This usually happens if you haven’t completed the configuration of your products in the App Store.</p><p>If this doesn’t cause any errors, you can ignore the warning. However, if you want to remove it, follow the steps in the [Fix for Code-1000 `noProductIDsFound` error and `InvalidProductIdentifiers` warning](https://dev-docs.adapty.io/docs/InvalidProductIdentifiers) section.</p> |--->
2 changes: 1 addition & 1 deletion versioned_sidebars/version-3.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@
{
"type": "doc",
"id": "InvalidProductIdentifiers",
"label": "Fix for Code-1000 `noProductIDsFound` error and `InvalidProductIdentifiers` warning"
"label": "Fix for Code-1000 `noProductIDsFound` error"
}
]},
{
Expand Down

0 comments on commit 561dc79

Please sign in to comment.