Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / how to add link to authorize download

how to add link to authorize download

Locked

Views: 1,829

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Jun 2007, 7:08 PM
#1
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

how to add link to authorize download

Customers purchase downloadable videos (WMV) which have DRM protection.
I need to be able to direct the buyer to a html to retrieve the licesne to unlock the video.

Any sugestions on how to do that? Add an htnl file as one of the multiple downloads?

Thanks, Roland

28 Jun 2007, 7:47 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: how to add link to authorize download

Is the HTML page for the license number the same for everyone?

28 Jun 2007, 11:20 PM
#3
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

Re: how to add link to authorize download

Kim:

Is the HTML page for the license number the same for everyone?
Yes, but it goes to a third party website, who issues the license/unlock.

Actually there can be different url's for different video catagories.

~Roland

14 Oct 2007, 9:47 AM
#4
hifipj avatar

hifipj

New Zenner

Join Date:
Oct 2007
Posts:
43
Plugin Contributions:
0

Re: how to add link to authorize download

Hello!

I was wondering if ZC users have successfully got this combination working, for selling downloadable WMV files with DRM, and using the Vidlock service for handling of the DRM licenses.

It would entail generating a custom part on the purchase confirmation page after payment is received, where the button to download the DRM license is included, as well as a link to the downloadable file. And the source code and locations these point to must be hidden from the user.

Also the license (and code for the button) is unique for each file, so the PHP code must first look at which file was purchased, then generate code for the license button/file link unique to that file.

I understand HTML fine but I'm not an advanced programmer, so if anyone can be of help with this, I would sincerely appreciate it!

Patrick

ps - here is a sample of the code used to generate the button the user clicks to pre-load the DRM license onto his machine.

<form method="post" action="http://www.vidlock.com/deliver_adv_license.aspx"> <input type="hidden" name="id" value="70xxx"> <input type="hidden" name="num_plays" value="1"> <input type="hidden" name="duration" value="1"> <input type="hidden" name="burn_count" value="3"> <input type="hidden" name="transfer_count" value="2"> <input type="hidden" name="url" value="http://www.server.com/file.wmv"> <input type="hidden" name="key_id" value="zwFyEJrm8ki0xxxxxxxxxx=="> <input type="submit" value="Pre-Deliver License" /> </form>