IAP Retrieve Products Failed Error
Under Audit
Unity 2019.4.x - Unity 2020.3.x
Published 10 days ago
The IAP button works in the editor but fails in a published build, returning the "Retrieve Products failed, and could not retrieve any products" error, despite product IDs matching.
The OnProductsFetched event fails to trigger in a published build, although a fake-store purchase is successfully initiated in the editor using IAP v5.2. The system returns the error "Retrieve Products failed, and could not retrieve any products." This issue persists even when the product ID (buygame) is confirmed to match between your IAP configuration and the relevant app store product ID. The OnProductsFetchFailed callback is invoked with the Retrieve Products failed reason.
- Ensure your
UnityPurchasingProductIDs are correctly configured in theIAP Catalogand match exactly with your chosen app store’s developer console. - Verify that your store listing is published (e.g., Google Play internal test track, open/closed test track) and that the IAP products themselves are active and published.
- Confirm that your app has the necessary
Billingpermission declared in itsAndroid Manifestfor Google Play or is correctly set up for iOSIn-App Purchasecapabilities.
Editor's Note:
Related Posts Haven't quite found a solution to your problem? We think these posts might help you.
Content inspired by a Unity discussion post.