Zend_Service_Amazon

Fuhrmann

Well-known member
Anyone know how to use it?

I've used this:

PHP:
$amazon = new Zend_Service_Amazon('MY_API_KEY', 'UK', 'MY_SCRET_API');

But when I do a $amazon->itemSearch I always get an error:

Code:
An error occurred sending request. Status code: 400
 
Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter.
 
Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter.

Yes...

I search a lot and there is a lot of people with the same problem. Then, I found a bug report in here:

http://zendframework.com/issues/browse/ZF-11904

That is...Amazon has changed the API and now requires a new parameter Associate Tag, that's why do not work, because in Zend Framework it is not updated yet.
 
Solved.

I've added the new required parameter into the core of the Zend_Service_Amazon.

And my computer date/time was wrong.:oops:
 
Top Bottom