- Initial release
- Adapted AmazonApi class from the signed URL tutorial at: webtutsdepot.com/2009/10/13/amazon-signed-request-php/
- Added methods to AmazonApi class:
- itemLookUpWithOffersImages returns a signed URL for product information for a comma-separated list of ASINs
- cartCreate returns a signed URL that builds a remote shopping cart with the specified items/quantities
- cartAdd returns a signed URL that adds items to an existing remote shopping cart
- cartModify returns a signed URL that allows items to be added or removed from an existing remote shopping cart
- cartGet returns a signed URL that retrieves an existing remote shopping cart
- index.php posts-back to itself each time an add-to-cart or delete-from-cart button is clicked. Using session variables to keep track of the contents of the cart and cart identifiers, a decision tree is traversed to determine the correct operation to perform (create, add, modify, etc.). A cart checkout link appears when the user has a valid cart, which redirects user to Amazon to checkout.
- Fixed bad logic when dealing with page refreshes (did not work correctly in all browsers)
- Renamed AmazonApi to AmazonProductApi for clarity
- Added a changelog!
- Renamed method itemLookUpWithOffersImages to itemLookup which now takes comma-separated Response Groups as second parameter