Press enter after choosing selection

Summer Game Prize Fulfillment Workflow

by eby

The AADL Summer Game has an online shop where earned points can be spent on awesome schwag. To try to make it easy for the volunteers and staff to fulfill the orders we took advantage of some of the infrastructure we already had in place for other parts of the site.

As some know our hold notices currently go through a script that sends an email along with printing a custom label to a label printer, that is used for identification on our hold shelves. We reused this process to print a custom pickup/order label every time an order comes through the ubercart game shop by hooking into the payment process. This leaves a spool of order labels that those doing fulfillment can pick up throughout the week and start filling. A spool that has been increasing dramatically in length. This makes it easy for the shop keepers to keep on top of all the orders and properly mark the bags for pickup.

Image removed.

As orders are filled the barcode on the custom label is scanned, which sets the order as fulfilled and adds a notification job to a redis queue. Players have the option of getting SMS notifications (sent through Twilio) or email. Shop keepers can also cancel orders if need be which refunds the points to the player account.

After the items are delivered to the branch destinations on Friday morning, a script goes through the jobs on the redis queue and sends the notifications letting players know their items are ready for pickup.

Image removed.

More background info on our Summer Game is in the works and keep that order spool growing!



You guys are amazing! Thanks for explaining the process and how you tied together existing technologies to make things work.

This all seems pretty high-tech and complicated. Thanks for making all this possible!

How in the world do all of these systems and computer codes(not summer game codes) work together, because they sound really cool. Keep up with the behind-the-scenes looks!

This is great! I already liked the way our library processed holds and now it's using that same technology for summer game prizes. Very Efficient!

In reply to by Smiles

Nope, the Friends of the AADL do not get money from the government or taxes. FAADL funds its operations and its donations to AADL by collecting and selling used books in the FAADL bookshop at the downtown library! So when you shop at the Friends Bookshop, you're funding next year's summer game shop among many other awesome activities AADL wouldn't otherwise be able to support,

If my order says completed under order history, but I didn't get an email or text, does that mean it's ready for pickup?

This is very interesting. So does the AADL have programmers on staff to set stuff like this up?


I'm sure the new blog post will be coming soon. There are new police badges up and ready to be found, you can start looking here:
There are also several other new badges including an A-Team badge and a Kevin Bacon badge

If a coder gets his/her wings every time a label is printed, there must be lots of flying code monkeys by this point!

Sorry for the delay guys! To answer a question, yup, all this stuff was developed by AADL's IT staff, but we use a lot of open source code so we're rarely starting from scratch. As for the blog post, it's coming, I got a little behind tonight what with the 6 NEW SHOP ITEMS! Stay tuned!




The only thing is the prizes sold out really fast, if they can have more for people to order, that would be even better.

So far I think the Summer Game is flawless. Well done and kudos to the developers and designers!

Graphic for blog posts

Blog Post

Summer Game