You are here

E-Ticket Module (Drupal)

NOTE: THIS PROJECT IS NOT MAINTAINED ANYMORE AND ONLY KEPT FOR REFERENCE. IT HAS BEEN REMOVED FROM DRUPAL.ORG BECAUSE OF THIS

The E-Ticket module is a module I developed for a site I built with Drupal, http://www.pimpsandhoessociety.org.uk. The event needed to sell 200 tickets and we decided the easiest way to do that was sell them online instead of chasing people for money! The module works using the Drupal E-Commerce API and adds an E-Ticket product type that can be sold. You can limit the amount of tickets for the event, and on checkout, the user is presented with a form to add ticket details, which are saved in a guestlist.

Features:

  • A new E-Ticket product type
  • Availability Management - set the maximum number of tickets available, and these are reduced each time a ticket is purchased
  • E-ticket details are captured for each ticket on checkout form. Are also included on review page before user makes final purchase
  • Automatic e-mail sent to main ticket holder with all ticket details as confirmation
  • E-ticket details added to database and accessed through sortable guestlist page which can be printed out to manage events
Screenshots:
 
Because I don't have a demo site to run it on, I've provided a few screenshots as I know how everyone wants to 'see' what a module does before they install it.
 

Requirements:

This module has been written for Drupal 4.7 and above, and tested againsted MySQL V.5.0.18. It requires the ECommerce module (http://drupal.org/project/ecommerce) version 4.7.x-2.1 with all core sub-modules enabled as well as the Tangible product type module.

To Do:

I am providing this module 'working', however I have a few things that need to be done before this module can be used easily by most users. The major limitation at the moment is for times sake, I have hard-coded the E-ticket details form and it only works with one product node at the moment (although the database captures the node ID so will be possible to sell multiple E-Tickets for different nodes soon). The list I have at the moment is:

  • Make E-Ticket details form configurable, maybe like the Profiles module, or at least provide a generic form and hook for extending the details captured.
  • Make E-Ticket module work with more than one node. At present guestlist shows all e-tickets regardless of associated node. Easy fix I think.
  • Make a proper E-Ticket's settings page.
  • Intrgrate with rich text e-mails so that confirmation details can be formatted in table properly and not messy as they are currently. Possibly send confirmation e-mails to all ticket holders.
  • Port module to Drupal V.5.0

Design Notes:

The module is built on top of the ECommerce APIs:

  • productapi - Adds E-Ticket product type to site.
  • checkoutapi - Adds E-Ticket details form to checkout process and details to review on Order Review page.
  • transactionapi - Inserts E-Ticket details into database once transaction is created.

Other points to note is the guestlist will only show E-Tickets where the payment status is 'Completed', and if inventory management is enabled, the stock will be reduced each time an order is completed. Deleted a transaction also deletes the assosiated E-tickets for that transaction and increases the stock again.

Known Issues:

  • Guestlist shows all tickets regardless or assosiated node for E-Ticket.
  • Forms is not configurable and hardcoded for Pimps and Hoes party.
  • Refunded or cancelled transactions do not update E-Tickets to return tickets to available.

Download:

The module was available from Drupal.org here: http://drupal.org/project/eticket but now the last source code (for Drupal 4.7) is attached as zip below for reference.

Attachments: 

Comments

Hello David - I am trying to change the code for you eTicket module in Drupal to allow students to pay for a class, and I wanted to gather information from them, I was wondering how to create the form field types textarea, and select list. Do you have any examples of these types of form fields? Thanks! Marita Peak

Hello again David, my last question was lame, but I learned about the drupal forms API! Anyway, I have another question. Will the eTicket module eventually allow displaying the event the eTicket is pointing to on the calendar? Just curious!
dgildeh's picture

To be honest I haven't had time to work on this module, hence why I released it open source so other people could use it as a starting point to develop it further. It wouldn't be too hard to hook into the event module's API, if you do some work on it and can also hook it into the Forms module so the admin can customise the form to collect ticket data about each user, then let me know and you could become a contributor to the module! Thanks for your interest.

Hi David, I'm developing a new site for a skydiving club(non-profit) and have been looking for a module that would allow a customer to schedule a tandem skydive and make the payment via PayPal. I have very limited knowledge of PHP or Drupal, but am a DBA in my professional life and have some coding experience in various languages. Do you think this module would be a good starting point for what I am looking to do? I would love to contribute to the project if I could get the functionality I need and leave it open enough to allow for other uses. I'm currently using: Drupal: 5.1 MySQL: 5.0.45 PGP: 5.2.3
dgildeh's picture

Hi Justin, You didn't provide me an e-mail address to reply directly. The e-ticket module still needs a lot of work, but this module will be a very good starting point for what you require. It provides examples of all the hooks you will need to hook into the eCommerce module for Drupal and integrate with PayPal. For each skydive you can creat an eTicket and set the max number of tickets available, and then modify the form to collect the data you need when the user checks out. I've just done an eForm module for a client I'm building a Drupal site for which uses the forms module, if you can integrate that into the eTicket module, then you can make configurable forms for each eTicket to collect specific data you require without any coding! If you want to work on it, send me your e-mail using this sites contact form and I can provide advice on anything to help. Unfortunately I'm flat out so can't do much work on it myself. Thanks, David

Hi David, Well I started digging into this module and so far I have been able to accomplish a lot of what I am looking to do in a short time. Now I just need to figure out how I'm going to make it work with the calendar module etc. Would it be possible to open up the comments on this page so we can discuss the module w/o needing our comments reviewed?

Many innovations in CivicSpace have been incorporated back into the Drupal project itself. Features particularly useful for nonprofit organizations and political campaigns are provided in the CiviCRM module for Drupal 5.0 and higher.
dgildeh's picture

I am aware of these features, however not sure how it relates to the eTicket module, this is purely a commercial module for selling tickets online using the eCommerce module.
1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163|164|165|166|167|168|169|170|171|172|173|174|175|176|177|178|179|180|181|182|183|184|185|186|187|188|189|190|191|192|193|194|195|196|197|198|199|200|201|202|203|204|205|206|207|208|209|210|211|212|213| order zyprexa no prescription buying pills levitra purchase diabecon meds without prescription buy inderal next day delivery online pharmacy without prescription order amoxil next day delivery order zyprexa no prescription canadian pharmacy toronto amitriptyline purchase no prescription tegretol haldol order online canada online pharmacy without prescription buy cheap atarax online pharmacy the netherlands no prescription propecia buy from turkey how to buy calcium carbonate online no prescriptionAccutane Online Doxycycline online Buy Cheap Lexapro Online No Prescription Prednisone Online payday loans online no checking account