Debug Mode
Sometimes when you're developing, you don't want your newly created achievements or high scores to show up in live data. We have an easy solution for this, and it's called 'debug mode'.
To run your game in 'debug mode', simply put the following code in the initial Clay.io script call:
Clay.options = { debug: true };
The full code would be:
<script type="text/javascript">
Clay = {};
Clay.gameKey = "YOURGAMEKEY";
Clay.readyFunctions = [];
Clay.options = { debug: true };
Clay.ready = function( fn ) {
Clay.readyFunctions.push( fn );
};
( function() {
var clay = document.createElement("script");
clay.src = ( "https:" == document.location.protocol ? "https://" : "http://" ) + "clay.io/api/api.js";
var tag = document.getElementsByTagName("script")[0]; tag.parentNode.insertBefore(clay, tag);
} )();
</script>
When in debug mode, any achievements or high scores you earn (or give yourself) can only be seen by yourself. The same goes for any stream posts to the Clay.io wall.
Debug mode will also allow you, as the game's admin, to delete leaderboard entries as you wish.
With debug mode enabled, you can use test accounts with each respective payment service to pay for in-game items (note that this only works when logged into the game owner's Clay.io account).
We made test accounts for you so it's a bit easier:
For Amazon, use the username: paytest@clay.io and password: claydotio
For Paypal, use the username: pay_1342963430_per@clay.io and password: claydotio
For Google Checkout and Credit/Debit card use card #: 4242424242424242 with CVV: 111

Provide Feedback
We take customer support, and the quality of our developer tools and documentation very seriously. We want to hear how you think we can improve our documentation! Let us know if anything is missing, or unclear on this documentation page, and we'll get that fixed!