// validation link
$input = '{"status":"valid","envato_obj":{"item-name":"WooCommerce Amazon Affiliates - Wordpress Plugin","item-id":"3057503","created-at":"Sat Nov 01 10:16:37 +1100 2000","buyer":"PyR8zdl","licence":"Regular License","supported-until":"Wed Mar 02 03:00:00 +1100 2222"},"html":"<h1>Hi PyR8zdl,<\/h1>\n<p>Thank you for buying and validate: <strong>WooCommerce Amazon Affiliates - Wordpress Plugin<\/strong> @date: <i>Sat Nov 01 10:16:37 +1100 2000<\/i><\/p>\n<p> You bought my item as: <a href=\"http:\/\/codecanyon.net\/licenses\/regular_extended\" target=\"_blank\">Regular License<\/a>.<\/p>\n<p> Happy using, <br \/> AA-Team<\/p>"}';
// try to access the envato returns
$aaTeamServer_return = json_decode($input ,true);