hope you are well.
Could you please help me to convert my pto_api_amazon.php to new Amazon APIv5 working.
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.
It's perfectly working now. Thank you so much for your help.