0

I'm looking for an easy way to add download card functionality to my Drupal 7/ubercart site.

In case you are wondering, by "Download Card" I mean an actual physical object that a band can sell at a gig. The card has a code on it and a URL. The buyer goes to the URL, enters the code and they are allowed to download MP3 files, etc.

There are plenty of pay options for this (CDBaby, Dropcards...) but a Drupal option would be fantastic. The Drupal site would need to both generate the codes and export them into a spreadsheet or similar so that we could print them out on to cards. The site would, of course, also have to be able accept the codes and only allow users with the correct codes to download their music.

Does something like this exist for Drupal?

1 Answer 1

1

Well I'm unaware of a turn-key (Drupal Distribution) for a Dropcard ecommerce site per se. The components exist to make such a site using some custom code. Some example modules that fit your use-case are:

TokenAuth

Token Authentication provides a token for use in the URL to authenticate users to your site. It only works on paths configured in the settings page.

Commerce File

  • Ability to limit access to the file with limit settings

  • Default limits: duration, download count, IP address count

  • Limit default values can be inherited at the product level such that the product always uses the current default value
  • After purchase of a file, limits are statically recorded to the line item so that they do not reflect any changes to the product's file limits.
  • A user's limits reflect changes to an order, even after order is completed. Order deleted, canceled Line item deleted, update
  • Utilizes Rules to control workflow for:
    • File download access: controlling access and reacting to access denied
    • Order workflow: issuing access licenses and revoking access licenses in the order

Views Data Export -- export your authentication links to paper cutouts.

This module is designed to provide a way to export large amounts of data from views. It provides a display plugin that can rendered progressively in a batch. Style plugins are included that support exporting in the following types:

CSV, Microsoft XLS, Microsoft DOC, Basic TXT, XML.

Commerce Module

uhh make an eCommerce site using drupal.

Many of these modules likely make use of Drupal core concepts for Entities, Cron Jobs and likely Queues. You may find the Queue API useful to build the authentication tokens for example every hour for new audio content.

The ingredients exist for a developer to create what you're asking for, good luck.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.