Posts

Post not yet marked as solved
4 Replies
3.3k Views
Hi,I want add InApp purchase in my App but I can't figure out what is wrong in my workflow :1. On ITune Connect, I created a product for my app (let say product ID is com.mycompany.products.***) and the product is "ready to submit",2. I created a sandbox test user for this app,3. I used the Sandbox AppleID to connect to iTune on a real device,4. Back XCode, I added InApp purchase capability to the app,4. I built and run tha app to the real device (not simulator)6. I try to get the product information (com.mycompany.products.***) and I receive nothing...This is a cordova project, so problem is not comming from the code as I already used the plugin (https://github.com/AlexDisler/cordova-plugin-inapppurchase) on an other project and it's working justre fine.The code I use to get product information is :inAppPurchase.getProducts(["com.mycompany.products.***"]).then(console.log).catch(console.error);And I receive nothing than an empty array. So What Am I doing wrong ?Thank you in advance for your help.
Posted Last updated
.