testing kreds purchases in preview mode

4 posts

Flag Post

Preview – Publishing this game requires approval. Please email apps@kongregate.com and make sure to include your Kongregate username and the title of your game.

// Purchase 2 items with no metadata:
kongregate.mtx.purchaseItems([“sword”,“shield”], onPurchaseResult );

the code above should work in preview mode , or this will work only after an admin approuves my game and not for testing purposes?

 
Flag Post

It should work in preview mode but you will be unable to publish your game without an administrator’s approval.

 
Flag Post

It dosn’t :
The code:

kongregate.services.showShoutBox(“hello the shout box is working”);

works, it displays the dialog,

but, the code:

kongregate.mtx.showKredPurchaseDialog(“offers”);

doesn’t display nothing.
Do you have a game that works? maybe i do something wrong…

 
Flag Post

I’ve got it!!!
I edited a previous game from 2011 , and is not working but if i create a new one it works.
Thanks.