There's a new config parameter - $pto_api_amazonRegion - set this together with $pto_api_amazonHost for your locale as required.
The access key and secret access key now need to be those from your Amazon Associates account (Tools > Product Advertising API) and may need to be migrated from AWS Console. Some users have reported the version 5 module not working immediately when this is required so may be worth waiting 24 hours if that appears to be the case. Debugging is built-in so if no results are showing you can enable debug mode by changing line 28 as follows;
$pto_api_amazonDebug = TRUE;
The CURL error (if any) and raw JSON response from the API will then be displayed and is normally quite informative.
Hello Pavan,
I've updated the Amazon API module for version 5, click here to download.
There's a new config parameter - $pto_api_amazonRegion - set this together with $pto_api_amazonHost for your locale as required.
The access key and secret access key now need to be those from your Amazon Associates account (Tools > Product Advertising API) and may need to be migrated from AWS Console. Some users have reported the version 5 module not working immediately when this is required so may be worth waiting 24 hours if that appears to be the case. Debugging is built-in so if no results are showing you can enable debug mode by changing line 28 as follows;
$pto_api_amazonDebug = TRUE;
The CURL error (if any) and raw JSON response from the API will then be displayed and is normally quite informative.
Cheers,
David.
--
PriceTapestry.com