Back to All

IAP products array is empty

Hi. I am having a bug where the products array is not being loaded and is showing as empty. I have followed the steps in your docs:

1- Paid for the IAP plugin
2- Downloaded a new build
3- Added the IAP capability on Xcode
4- Hosted the JSON file with the "Content-Type: application/json" header (see "curl -i https://app.scooch.pet/iap/productsApple.json")
5- Built a debug page to see the output of median.iap.info()
6- Received an empty products array:
{
"inAppPurchases": {
"platform":"iTunes",
"canMakePurchases": true,
"products": []
}
}

Can you please advise? There's one question in the forums that look exactly the same but remains unanswered 1 year later: https://median.co/discuss/643910840a9abc0057466164

Thank you