How to Match Orders to User Sessions in WPeC

This is less a technical question, and more a ’how would you do it’ question that I’m hoping the more experienced users may have some advice on… (I still think its a valid question for this forum)

I’m creating a Flash application which allows users to upload an image, and then add a product to the shopping basket with that image on it (WPeC plugin is my shopping basket - I'm going to need to add a product to my shopping basket from within the flash application).

My problem is this… many users will upload images, but not all will actually complete the order. When a user orders a product, I need to know which image on my server is their image!

I thought about naming each image uploaded with the users Session Id, then when someone orders a customised product I would somehow find the session id and match them up.

I ruled this out because a user might upload 3 or 4 images – each image would have the same Session Id so I wouldn’t be able to tell which image they wanted to use.

Knowing what I’m trying to do, do you have any advice on how to go about this? Before I even start to work out the technical side of things I’d like to get a plan together of matching images to orders.

PLEASE HELP IF YOU CAN!

Thank you

Dean

Topic flash plugin-wp-e-commerce Wordpress

Category Web


upload the file and add the item to the cart in one process, passing the filename as extra meta data with the cart item. if they remove the item from the cart, you can delete the file so you don't have abandoned files.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.