Software Archive
Read-only legacy content
17061 Обсуждение

In-App Purchase Problem

Taucher
Начинающий
883Просмотр.

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 баллов
4 Ответы
Elroy_A_Intel
Сотрудник
883Просмотр.

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

Taucher
Начинающий
883Просмотр.

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?

 

Elroy_A_Intel
Сотрудник
883Просмотр.

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

Taucher
Начинающий
883Просмотр.

Hi Elroy,

I solved that problem too. Thanks for your reply, 

Regards,

 

Ответить