You may bring up the "purchase kreds" dialog box by using the
showKredPurchaseDialog method on the microtransaction services object. The only argument is the default purchase method you would like to display, which can be either
offers to show the OfferPal Kred options, or
mobile to show the mobile payment options. Any other value will simply show the default purchase dialog.
Optional type of offer to display, can be
Example: Display the OfferPal Kred purchase dialog:
Since guest users on Kongregate are not allowed to purchase items, you must decide how you want to handle them in your game. In general, whenever a guest user wants to purchase an item, it is a good idea to display a message letting them know they must sign in or register before they can purchase, and then display the sign-in lightbox. Further documentation on this process can be found here.