views:

293

answers:

2

I am about to get stuck into fixing the Product Advertising API Signed Requests issue for PHP for a site I wrote a while ago.

Is there a library out there already, or do I need to roll up my sleeves?

https://affiliate-program.amazon.co.uk/gp/advertising/api/detail/faq.html

+1  A: 

This library takes a good approach, however their code has several errors in it. In the end I used this one and modified it.

http://cloudcarpenters.com/blog/amazon_products_api_request_signing/

This code seemed more complex but the output seems to be ok.

http://www.everygoodpath.net/PHP-sample-Amazon-request-sign-authenticate

This article was another option that I did not use.

http://www.alssoftware.com/article.php?aid=amzsigning

My site works fine now! Thanks Amazon!

Jon Winstanley