Developer forum

Forum » Development » Can Dynamicweb generate tickets with barcodes/codes after order completion?

Can Dynamicweb generate tickets with barcodes/codes after order completion?

Sonni Tost
Reply

Hi all,

We have a client that needs to be able to sell tickets that can be scanned and registered as used.

The real life situation is this:

Our client is within the renovation industry. They handle waste of all sorts on their recycling centers. However businesses have to pay to get rid of their waste. Currently this is done by selling paper tickets online.

They would like to change this - so when the business customers buy their tickets online they receive them in the mail box. When they enter the recycling center the recycling employee scans the ticket either on the phone, tablet or the printed version. The ticket is then regarded as being used.

So to boil it down:

Can i make Dynamicweb create tickets that are unique with barcodes or QR codes and send them to the customer after order completion?

Currently the customer runs a webshop on DW 8.3.1.17

Kind regards


Sonni Tost


Replies

 
Morten Snedker
Reply
This post has been marked as an answer

Hi Sonni,

If we stick to the barcode, the barcode is basically just at font. So rendering content with a voucher code that is applied with a barcode font should do it.

As for the QR code it's a bit more complicated as this will require some coding, as the QR code is an image that is generated. A bit of searching the web will lead to plenty of free .net examples.

In either case it is doable. What makes the most sense all depends. Hope the above sheds some light, but feel free to elaborate.

 

Regards /Snedker

Votes for this answer: 1
 
David Matheson
Reply

Hi,

mCash offers QR code integration or free-standing apps - https://mca.sh/en/ using http://min.qrsalg.no/

regards

David

 
Sonni Tost
Reply

Hi again,

Thank you both for your input.

My initial thought was that after the approved credit card checkout then Dynamicweb would generate x amount of tickets and attach them to an e-mail and send them immediately - and then show the: 'Thank you for your order - order confirmation'-screen with the appropriate details.

Now that i know that the barcode / QR-codes can be generated somehow i have a follow-up question (it may be a bit of a newbie question) - but how do I hook up the ticket generation to the check-out flow?

Kind regards,

Sonni T.

 
Morten Snedker
Reply

The cart has a whole set of notifications you may hook up on: http://developer.dynamicweb.com/documentation/for-developers/ecommerce/extensibility/notifications/cart-v2.aspx.

CheckoutDoneOrderIsComplete is a commonly used notification, as you at this point know that payment has completed successfully.

 

Regards /Snedker

 
Sonni Tost
Reply

Thank you! I'll look into it :-)

Sonni T.

 

You must be logged in to post in the forum