Software Archive
Read-only legacy content
17061 Discussions

In-App Purchase Problem

Taucher
Beginner
881 Views

Hello, 

I am trying to implement the "in-app-purchase" plugin as written here :https://software.intel.com/en-us/xdk/docs/html5-hybrid-apps-with-cordova-and-in-app-purchase

I have an app on itunes connect. I created the in-app-purchase products with ids, screenshots,.., then i created a new version of my app and it is waiting for submit. 

Then in Intel XDK, I used the IAP template and edited to match my app with Bundle ID, version and product Ids. Then i built and installed on my real IOS device. But nothing is displayed :(.

 

What am i missing?

 

The result is the image below:

 Capture.PNG

 

 

0 Kudos
4 Replies
Elroy_A_Intel
Employee
881 Views

What version of iOS are you using? Can you provide more details of all the things that you have experienced?

0 Kudos
Taucher
Beginner
881 Views

Hello Elroy,

 

Thanks for the reply. I solved the problem: I deleted 'store.refresh();'. This makes it crash. 

But my new problem is:

I have 4 buttons which are running 'store.order("productid")' function with individual consumable products.  Just the first button works, the other ones doesn't response. Do you have any idea?

 

0 Kudos
Elroy_A_Intel
Employee
881 Views

Is a click event being triggered for the other buttons at all?

0 Kudos
Taucher
Beginner
881 Views

Hi Elroy,

I solved that problem too. Thanks for your reply, 

Regards,

 

0 Kudos
Reply