News:

Support the VirtueMart project and become a member

Main Menu

Download Token System

Started by Metal Militia, January 16, 2013, 04:41:17 AM

Previous topic - Next topic

Metal Militia

Hello,
I am not yet a user of VirtueMart 2, though I am interested.

As a musician, part of what I'd like to sell in my shop is downloadable content, IE videos and MP3s. For obvious reasons, I'd prefer if the user was not able to find the direct URL for the content they've purchased, but still make it so they can re-download the content any time they login.

I originally programmed a download token system in PHP using MySQL databases to accomplish this, yet my limited web developing background left the system with gaping vulnerabilities.

Is it possible to have something like a token system for downloadable purchases using Virtuemart 2? Or should I look elsewhere?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Metal Militia

Thanks jenkinhill, I appreciate your response. This is exactly what I was looking for. :)

reinhold

#3
Just wanted to chime in: I have now also created a "Downloads for Sale" plugin:
http://www.open-tools.net/virtuemart-2-extensions/vm2-downloads-for-sale.html

This plugin allows you to add downloadable media files as custom fields (similar to the iStraxx and the Spiral download plugins), but it has some more goodies:
-) The download link is also shown on the product details page if the user is logged in (and has purchased the product in the past)
-) There is a separate "All my downloads" page that show the links to all the downloads that the current user has access to. Anonymous users can use the ordernumber and order password to access the downloads on that download page (although for them, the order page has the same links).