The ecommerce site is Amazon.com. I need a PHP script that can receive an array with a user's Amazon username and password and an array of "offeringIDs" which is what amazon uses to distinguish the different products in the marketplace, complete the purchase of those items and then return a confirmation message with order-id numbers and sellers ids. It may be required that, due to session issues, the script return a list of possible products and descriptions based on ASIN number. In that case, an ASIN number would first be sent to the script which would then return a list of marketplace offers to choose from. Then, I would submit an array with the username and password to complete checkout. There is no need to program in the ability to send a different address or select payment method at this time. The script can be made to send the item to the one click checkout default address and payment method.
The script also needs the ability to lookup the status of an order by the order-id and also return the tracking number if available.
This script should be robust and easy to debug with good commenting and organized code. You may use any existing scraping or browsing libraries like php simpletest and if you want to use a framework, please use codeigniter.
Thanks, If you have any questions, please don't hesitate to ask.