====== 流れているデータサンプル ======
=== payments_get_items ===
Array
(
[func] => payments_get_items
[request] => Array
(
[algorithm] => HMAC-SHA256
[credits] => Array
(
[buyer] => 100000543667359
[receiver] => 100000543667359
[order_id] => 9004827591922
[order_info] => {"item_id":"1","title":"item_tilte","description":"item_description","price":"10","image_url":"http://test.com/test.png","product_url":"http://test.com/test.png"}
)
[expires] => 1306206000
[issued_at] => 1306199097
[oauth_token] => 155886944473688|2.AQCKHdJpnidQMPUE.3600.1306206000.1-100000543667359|DdbAJu6gV8jFaXRuGOWqx5ka3DI
[user] => Array
(
[country] => jp
[locale] => ja_JP
[age] => Array
(
[min] => 21
)
)
[user_id] => 100000543667359
)
)
=== order_info を json_decode ===
(
[item_id] => 1
[title] => item_tilte
[description] => item_description
[price] => 10
[image_url] => http://test.com/test.png
[product_url] => http://test.com/test.png
)
=== payments_status_update ===
Array
(
[func] => payments_status_update
[request] => Array
(
[algorithm] => HMAC-SHA256
[credits] => Array
(
[order_details] => {"order_id":125617700852046,"buyer":100000566077369,"app":155886944473688,"receiver":100000566077369,"amount":100,"update_time":1306199154,"time_placed":1306199151,"data":"","items":[{"item_id":"3","title":"item_title","description":"item_description","image_url":"http:\/\/test.com\/test.png","product_url":"http:\/\/test.com\/test.png","price":100,"data":""}],"status":"placed"}
[status] => placed
[order_id] => 125617700852046
[test_mode] => 1
)
[expires] => 1306206000
[issued_at] => 1306199154
[oauth_token] => 155886944473688|2.AQAT3b3cPqIIUlVW.3600.1306206000.1-100000566077369|4Godv2yLxS8cdgey-RuPaeMUHjw
[user] => Array
(
[country] => jp
[locale] => ja_JP
[age] => Array
(
[min] => 21
)
)
[user_id] => 100000566077369
)
)
=== order_details を json_decode ===
(
[order_id] => 125617700852046
[buyer] => 100000566077369
[app] => 155886944473688
[receiver] => 100000566077369
[amount] => 100
[update_time] => 1306199154
[time_placed] => 1306199151
[data] =>
[items] => Array
(
[0] => stdClass Object
(
[item_id] => 3
[title] => item_title
[description] => item_description
[image_url] => http://test.com/test.png
[product_url] => http://test.com/test.png
[price] => 100
[data] =>
)
)
[status] => placed
)