I had an integration with a photo processor that has gone out of business. I will be converting over to FoxyCart to sell downloadable versions of the photos in addition to other subscription services we offer.
One function they had in their API that I loved which might be a nice addition to FoxyCart was the ability to add a product URL for the raw image (or whatever the downloadable might be) when the item was added to the cart. These files can be stored in a location that is only available to the FoxyCart servers. What this allows if for the dynamic addition of downloadable items when the user purchases them. The value in this is that my site has thousands of photos. I only sell a very small percentage of them (probably less than 1%). It is way too much trouble to add all of the photos as downloadable products just in order to sell a few.
Does this kind of thing make sense? Even the third party apps I've seen require that you send the datafeed to them (which I'd like to continue to have sent to my servers) and/or the indexing of all the products. Does anyone else see value in this kind of feature?
I suppose one thing I could do would be to add the URL as a custom option. Then when I receive the feed I can make my software respond to the feed by submitting the form that creates the product (currently there is no function in the API that allows this). But would the links be created properly if the product didn't exist at the time of the purchase? I can also anticipate that the datafeed might be temporarily down or that the feed may take longer than the timeout interval to dynamically upload the products. What would happen in those cases? Does the transaction error out if the downloadable product doesn't exist on FoxyCarts servers?
Thanks for your thoughts and comments.