Topic: Kongregate APIs /
Dynamic Order of Items API
Currently with the game I am working on, I make the user purchase or use Kreds to get Ocho (the in-game currency for my game)
I’m using the skeleton giving here
for the callback url.
All i did was make items for the $all_items array and added code to give the user Ocho under the commented line:
// Award items to the user here!
The problem I am having is that the Ocho is credited to the user, and the log in my database shows this as well saying the purchase is complete. However, once I’m done with this purchase, I get an email from Kongregrate saying:
You recently purchased the following item in *******:
We were unable to communicate with the game server in order to deliver you the item in-game, so your account has been automatically refunded with 0 Kreds.
Please feel free to contact us with any questions at firstname.lastname@example.org.
I’m not quite sure if it’s because I’m not ‘using’ the item via Kongregate’s API or not or something.
Could anybody be so kind to enlighten me possible reasons why this is happening?
btw, I have not published this game yet. Don’t want to publish it if the user can get unlimited Ocho’s for a cost of no Kreds lol