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

Zend_Service_Amazon

Discussion in 'General PHP and MySQL Discussions' started by Fuhrmann, Nov 24, 2011.

  1. Fuhrmann

    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
     
  2. Mikey

    Mikey Well-Known Member

  3. Fuhrmann

    Fuhrmann Well-Known Member

    The keys are fine. I really do not know what is happening.

    Thanks Mikey!
     
  4. James

    James Well-Known Member

    Have you checked that all the dependencies of Zend_Service_Amazon are there? Someone had this problem with Zend_Service_Twitter.
     
    Fuhrmann likes this.
  5. Fuhrmann

    Fuhrmann Well-Known Member

    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.
     
  6. Fuhrmann

    Fuhrmann Well-Known Member

    Solved.

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

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

Share This Page