Forums / Managing Customers and Orders / Export order line items plus userID and passwords

Export order line items plus userID and passwords

Locked

Views: 1,886

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
26 Jan 2009, 6:23 PM
#1
metv avatar

metv

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Export order line items plus userID and passwords

We sell digital downloads and we need to secure all of our digital download files with DRM. In order to allow our users to unlock the files, we need to issue a DRM key.

This is done through MS Media Player that asks them for their user ID and password. Our DRM licensing system then needs to do a look up on the user ID from ZenCart, confirm the password as well as the downloaded file name. If they match, we issue the key to the user's Media Player app and it opens.

Any ideas on how I can easily export the userID, PW and order line items with the download file names to another database. I figured it would be better to try and do this outside of ZenCart as a separate database that our security system would query using XML.

Any suggestions on approach or export apps that could be modified?

Thanks

27 Jan 2009, 6:45 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Export order line items plus userID and passwords

All but the pass should be simple...
ZenCart does not store the pass in clear text and uses a modified MD5 hash and for which there is little published for obvious reasons.
You can change this with this being open source at your own risk

Zen-Venom Get Bitten

27 Jan 2009, 4:20 PM
#3
metv avatar

metv

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Export order line items plus userID and passwords

OK - that makes way too much sense. Still, I assume there is a way to verify the user name and password? That would be more than sufficient. Then we can access the other file of products downloaded by the user id once we have confirmed the password is valid. Do we know where ZEN stores the product names of download files in orders?

28 Jan 2009, 12:36 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Export order line items plus userID and passwords

Do we know where ZEN stores the product names of download files in orders?
Not sure what you are looking for????

Downloadable products are ones that you setup and are via attributes and you must place them(FTP) in the downloads folder...So the names that you assign to these products are stored in the products table in the database which can be different than the file name of the download

Zen-Venom Get Bitten

28 Jan 2009, 4:27 PM
#5
metv avatar

metv

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Export order line items plus userID and passwords

In order to deliver a digital key to the user after they download the product, we need to confirm they bought the product. This is done by windows media player requesting a user ID and password. media player knows the original name of the file which is encoded into the WMV file when we apply the DRM license before it is stored on our download. Our DRM server then is contacted by windows media player and asks for a license. Our system needs to take the information provided by media player and compare it to the order information - specifically the name of the file, the user ID that bought the file and the password.

Hope that helps

28 Jan 2009, 5:50 PM
#6
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Export order line items plus userID and passwords

If you can somehow have your program to authorize the passwords against the mysql database then it will work just fine. You can check the login process to see how the password is hashed and then compared to the ones in the database. You can then have your program does the exact samething.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

28 Jan 2009, 6:07 PM
#7
metv avatar

metv

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Export order line items plus userID and passwords

:clap:

Thanks - thats the direction we were heading.