{"id":16926,"date":"2012-02-15T09:34:46","date_gmt":"2012-02-15T09:34:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-hamazon\/"},"modified":"2026-01-30T14:13:15","modified_gmt":"2026-01-30T14:13:15","slug":"wp-hamazon","status":"publish","type":"plugin","link":"https:\/\/bn.wordpress.org\/plugins\/wp-hamazon\/","author":1143171,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"6.0.0","stable_tag":"6.0.0","tested":"6.8.5","requires":"6.1","requires_php":"8.1","requires_plugins":null,"header_name":"Hamazon","header_author":"Hametuha","header_description":"","assets_banners_color":"bbb0aa","last_updated":"2026-01-30 14:13:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-hamazon\/","header_author_uri":"https:\/\/hametuha.co.jp","rating":5,"author_block_rating":0,"active_installs":90,"downloads":8178,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Takahashi_Fumiki","date":"2012-02-15 09:36:09"},"2.0":{"tag":"2.0","author":"Takahashi_Fumiki","date":"2013-03-17 14:41:23"},"2.1":{"tag":"2.1","author":"Takahashi_Fumiki","date":"2013-03-18 13:35:01"},"2.2":{"tag":"2.2","author":"Takahashi_Fumiki","date":"2013-05-12 06:40:04"},"2.3":{"tag":"2.3","author":"Takahashi_Fumiki","date":"2014-02-11 07:18:57"},"2.3.1":{"tag":"2.3.1","author":"Takahashi_Fumiki","date":"2014-02-23 08:45:05"},"3.0.0":{"tag":"3.0.0","author":"Takahashi_Fumiki","date":"2017-10-13 11:53:04"},"3.0.2":{"tag":"3.0.2","author":"Takahashi_Fumiki","date":"2017-10-13 17:31:14"},"3.0.3":{"tag":"3.0.3","author":"Takahashi_Fumiki","date":"2017-10-19 05:16:40"},"4.0.0":{"tag":"4.0.0","author":"Takahashi_Fumiki","date":"2018-11-22 19:05:10"},"4.0.1":{"tag":"4.0.1","author":"Takahashi_Fumiki","date":"2018-11-22 19:24:55"},"4.0.2":{"tag":"4.0.2","author":"Takahashi_Fumiki","date":"2018-12-06 19:40:40"},"4.0.3":{"tag":"4.0.3","author":"Takahashi_Fumiki","date":"2018-12-06 19:55:13"},"4.0.4":{"tag":"4.0.4","author":"Takahashi_Fumiki","date":"2018-12-07 05:38:14"},"5.0.1":{"tag":"5.0.1","author":"Takahashi_Fumiki","date":"2020-03-25 07:13:22"},"5.0.2":{"tag":"5.0.2","author":"Takahashi_Fumiki","date":"2020-07-03 12:52:15"},"5.1.1":{"tag":"5.1.1","author":"Takahashi_Fumiki","date":"2023-12-25 16:01:45"},"5.1.2":{"tag":"5.1.2","author":"Takahashi_Fumiki","date":"2023-12-26 03:10:20"},"5.1.3":{"tag":"5.1.3","author":"Takahashi_Fumiki","date":"2023-12-26 05:35:01"},"5.1.5":{"tag":"5.1.5","author":"hametuha","date":"2025-09-30 12:28:20"},"5.1.6":{"tag":"5.1.6","author":"hametuha","date":"2025-09-30 13:58:02"},"5.1.7":{"tag":"5.1.7","author":"hametuha","date":"2025-09-30 16:41:39"},"5.1.8":{"tag":"5.1.8","author":"hametuha","date":"2025-10-01 08:40:38"},"5.2.0":{"tag":"5.2.0","author":"hametuha","date":"2025-12-19 03:01:35"},"6.0.0":{"tag":"6.0.0","author":"hametuha","date":"2026-01-30 14:13:15"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3014116,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3014116,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3014116,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3014116,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"hamazon\/single":{"name":"hamazon\/single","title":"Affiliate"}},"tagged_versions":["1.0","2.0","2.1","2.2","2.3","2.3.1","3.0.0","3.0.2","3.0.3","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","5.0.1","5.0.2","5.1.1","5.1.2","5.1.3","5.1.5","5.1.6","5.1.7","5.1.8","5.2.0","6.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3014116,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"You can search affiliate like this screen."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[369,209,69179,147716],"plugin_category":[35,45],"plugin_contributors":[146156,83237],"plugin_business_model":[],"class_list":["post-16926","plugin","type-plugin","status-publish","hentry","plugin_tags-affiliate","plugin_tags-amazon","plugin_tags-dmm","plugin_tags-phg","plugin_category-advertising","plugin_category-ecommerce","plugin_contributors-hametuha","plugin_contributors-takahashi_fumiki","plugin_committers-hametuha","plugin_committers-takahashi_fumiki"],"banners":{"banner":"https:\/\/ps.w.org\/wp-hamazon\/assets\/banner-772x250.jpg?rev=3014116","banner_2x":"https:\/\/ps.w.org\/wp-hamazon\/assets\/banner-1544x500.jpg?rev=3014116","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-hamazon\/assets\/icon-128x128.png?rev=3014116","icon_2x":"https:\/\/ps.w.org\/wp-hamazon\/assets\/icon-256x256.png?rev=3014116","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-hamazon\/assets\/screenshot-1.png?rev=3014116","caption":"You can search affiliate like this screen."}],"raw_content":"<!--section=description-->\n<p>You can add affiliate link in visual editor button.\nSearch on editor and add it immediately.<\/p>\n\n<h4>Available Services<\/h4>\n\n<ul>\n<li>Amazon Creators API (formerly PA-API v5)<\/li>\n<li>PHG iTunes affiliate<\/li>\n<li>DMM affiliate<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>PHP 8.1 or later<\/li>\n<li>WordPress 6.0 or later<\/li>\n<\/ul>\n\n<h4>Deprecated<\/h4>\n\n<p>These services below are deprecated.<\/p>\n\n<ul>\n<li>Rakuten<\/li>\n<li>Linkshare<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-hamazon<\/code> folder in <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate plugin.<\/li>\n<li>Go to <code>Setting &gt; Affiliate Setting<\/code> and enter credentials.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>6.0.0<\/h4>\n\n<p><strong>Breaking Changes!<\/strong><\/p>\n\n<ul>\n<li><strong>PHP 8.1 or later is now required.<\/strong> Please check your server environment before updating.<\/li>\n<li>Migrated from Amazon PA-API v5 to <strong>Amazon Creators API<\/strong>.\n\n<ul>\n<li>PA-API v5 (Offers V1) was deprecated by Amazon on January 31, 2026.<\/li>\n<li>You need to obtain new credentials (Credential ID and Credential Secret) from <a href=\"https:\/\/affiliate.amazon.co.jp\/tools\/creator-api\">Associates Central &gt; Tools &gt; Creator API<\/a>.<\/li>\n<li>Old Access Key \/ Secret Key will no longer work.<\/li>\n<\/ul><\/li>\n<li>Settings field names changed:\n\n<ul>\n<li>\"Associate ID\" \u2192 \"Partner Tag\"<\/li>\n<li>\"Access Key\" \u2192 \"Credential ID\"<\/li>\n<li>\"Secret Key\" \u2192 \"Credential Secret\"<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><strong>Note:<\/strong> Amazon Creators API requires at least 10 qualifying sales within 30 days per marketplace to maintain API access.\nIf your account doesn't meet this requirement, the fallback feature (introduced in 5.2.0) will be used automatically.<\/p>\n\n<h4>5.2.0<\/h4>\n\n<ul>\n<li>Add fallback if you can't satisfy Amazon's Product Advertising API requirements.<\/li>\n<\/ul>\n\n<p><strong>NOTE:<\/strong> PA-API now(Nov 13th 2025) requires at least 10 sales within 30 days via your account.\nIf you fail to meet these sales requirements, the API will always return a 403 response.<br \/>\nOnce this state is reached, you will no longer be able to add new links.<br \/>\nFor this reason, we have provided a manual ASIN configuration feature in the block editor,\nalong with a fallback layout that displays at least the title and URL when only an ASIN is specified.<\/p>\n\n<h4>5.1.4<\/h4>\n\n<ul>\n<li>Fix bug on classic editor.<\/li>\n<li>Avoid translation error warning.<\/li>\n<\/ul>\n\n<h4>5.1.3<\/h4>\n\n<ul>\n<li>Fix fatal error on deploy script.<\/li>\n<\/ul>\n\n<h4>5.1.0<\/h4>\n\n<ul>\n<li>Fix bug with serverside render.<\/li>\n<\/ul>\n\n<h4>5.0.2<\/h4>\n\n<ul>\n<li>Fix Warning error since 5.4.2<\/li>\n<\/ul>\n\n<h4>5.0.0<\/h4>\n\n<p><strong>Breaking Changes!<\/strong><\/p>\n\n<ul>\n<li>Sorry to be late. Followed Amazon Advertising API 5.0. If you use old credentials, go to Amazon Associate Central and get new credentials.<\/li>\n<li>Markups and API data structures are completely changed, so if you customize with hooks, please check they work as you wanted.<\/li>\n<li>Add WP CLI command: <code>wp hamazon search 'science fiction'<\/code><\/li>\n<\/ul>\n\n<h4>4.0.4<\/h4>\n\n<ul>\n<li>Fix js dependency errors.<\/li>\n<\/ul>\n\n<h4>4.0.3<\/h4>\n\n<ul>\n<li>Change translation.<\/li>\n<\/ul>\n\n<h4>4.0.2<\/h4>\n\n<ul>\n<li>Fix JS Error.<\/li>\n<\/ul>\n\n<h4>4.0.1<\/h4>\n\n<ul>\n<li>Sorry! Fix non gutenberg environment.<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>Fix PHG bug.<\/li>\n<li>Add Gutenberg support!<\/li>\n<\/ul>\n\n<h4>3.0.3<\/h4>\n\n<ul>\n<li>Got <a href=\"https:\/\/wordpress.org\/support\/topic\/\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\/#post-9600252\">bug report<\/a> and remove typehint to avoid fatal error.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<p><strong>BREAKING CHANGE!!<\/strong><\/p>\n\n<ul>\n<li>All codes are rewriten.<\/li>\n<li>Drop Rakuten and Linkshare. Shortcodes are now empty.<\/li>\n<li>Ready for <a href=\"https:\/\/ja.wordpress.org\/plugins\/shortcode-ui\/\">Shortcake<\/a>. Now you can preview shortcode resutl.<\/li>\n<li>If you feel this version breaks your site, stay old verison or contact me via <a href=\"\">support forum<\/a>.<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>\u95a2\u6570<code>tmkm_amazon_view<\/code>\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u76f4\u3057\u307e\u3057\u305f\u3002<\/li>\n<li>HTML\u30ea\u30f3\u30af\u3092\u51fa\u529b\u3059\u308b<code>hamazon_asin_link<\/code>\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u633f\u5165\u30dc\u30bf\u30f3\u3092\u3064\u3051\u307e\u3057\u305f\u3002<\/li>\n<li>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u5185\u306e\u60c5\u5831\u3092\u51fa\u529b\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u4e00\u8a00\u30b3\u30d4\u30fc\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u5165\u308c\u3089\u308c\u307e\u3059\u3002\u5f8c\u65b9\u4e92\u63db\u306f\u53d6\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3044\u307e\u307e\u3067\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u305d\u306e\u307e\u307e\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u30b5\u30fc\u30d3\u30b9\u306bPHG\uff08iTuens\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\uff09\u3068DMM\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n\n<pre>\/\/ \u3053\u308c\u307e\u3067\n[tmkm-amazon]00000000[\/tmkm-amazon]\n\/\/ \u3053\u308c\u304b\u3089\n[tmkm-amazon asin='00000000']\u3053\u306e\u672c\u306f\u6700\u9ad8\u3067\u3059\u3088\uff01[\/tmkm-amazon]<\/pre>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>\u697d\u5929\u3092\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u8ffd\u52a0<\/li>\n<li>\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3092\u30c9\u30e9\u30b9\u30c6\u30a3\u30c3\u30af\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u307e\u3067\u5229\u7528\u3057\u3066\u3044\u305f\u65b9\u306f\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>\u30ea\u30f3\u30af\u30b7\u30a7\u30a2\u306eAPI\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8fd4\u3055\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u65b9\u6cd5\u3092\u5909\u66f4<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>\u30ea\u30f3\u30af\u30b7\u30a7\u30a2\u3092\u8ffd\u52a0<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>\u306f\u3058\u3081\u3066\u306e\u30ea\u30ea\u30fc\u30b9<\/li>\n<\/ul>","raw_excerpt":"You can add affiliate link in post content via Amazon, iTunes, DMM.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16926"}],"author":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/takahashi_fumiki"}],"wp:attachment":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16926"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16926"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16926"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16926"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16926"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}