• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Zend_Service_Amazon

Fuhrmann

Well-known member
#1
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
 

Fuhrmann

Well-known member
#5
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.
 

Fuhrmann

Well-known member
#6
Solved.

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

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