An existing Zen Cart site needs to be integrated with a Web Service (running on a Windows server running ASP.NET) which sends activation codes for downloadable software. The activation code is generated based on the customer details and the software purchased. Please see attachments for a guide to the Web Service. We can also provide logins to a sandbox provided by the Web Service providers. I believe that requests and responses to/from the Web Service are in XML.
The following needs to occur:
Upon an order being placed on a Zen Cart site, the site needs to check if any of the items in the order belong to a certain category (the ID of this category needs to be specified in it's own section in the Zen Cart admin panel, as it may be subject to change at a later date).
If any items in the order do belong to the defined category, then for each item a request for the activation code is then sent to the Web Service. When the Web Service returns the activation code, it must be emailed to the customer using the standard Zen Cart email method (and as such must send if the customer is registered to receive HTML or Plain Text emails). The subject of this email should ideally be set in the Zen Cart Admin Panel.
This needs to work if there is only one item in the order that needs an activation code AND also if the order contains multiple items that need activation codes.