Main

How is the Member Jungle barcode generated?

Date:

The barcode which is shown in the Member Jungle App can be used for integration with your own POS or other card reading systems.

It is based on EAN 13 Barcode Format which is the most common barcode format and is used for most retail goods. So we adapted this barcode for use in Member Jungle.

What is the format of the Member Jungle barcode?

It may come as no surprise that the barcode has 13 numerals which are then represented as barcodes.

  • First 5 numbers are an identifier for the club (zero padded to the left).
  • Next 7 is for the membership number (zero padded to the left).
  • 13th digit is a check digit

 

Here is an example barcode.

Example Member Jungle membership barcode


So to decypher this barcode:

First 5 numbers are an identifier for the club (zero padded to the left). In our example this is the value of 00170 (170) - which is unique for your club

Next 7 numbers are for the membership number (zero padded to the left). So here this barcode is for member number 0012101 , or 12101.

13th digit is a check digit. The Check Digit is mathematically calculated as below to ensure that the whole number is correct.

 

The check digit is calculated in the following steps (if you really need to know smiley)

  1. Sum all the digits in even positions and multiply by 3
  2. Add all the the digits in odd positions (except for the last one which is check digit) to the number from step 1
  3. Divide that number by 10 and take the reminder
  4. If the reminder is not 0, subtract it from 10.

So in our example above which is 001700012101 with a check digit of 7

  1. 0 + 7 + 0 + 1 + 1 = 10 x 3 = 30
  2. Odd Numbers: 0 + 1 + 0 + 0 + 2 + 0 = 3      3 + 30 (from step 1) = 33
  3. 33/10 = 3 with 3 remainder.
  4. 10 - 3 = 7. Therefore 7 is our check digit.

 

So if you are integrating with a POS system that has a barcode reader (and already has member numbers stored) you are really just interested in the number from position 6 to 12.

Exporting the Barcode Number

The Member Jungle membership export file includes this barcode number so you can use or integrate with your own systems. However, be careful when opening CSV files with Microsoft Excel. Excel may remove leading zeros from fields like phone numbers and card numbers. You can import the file correctly into Excel using the Import function and marking those columns as Text. Alternatively you can use a simple text editor program to examine the data (eg NotePad or TextEdit).

 

Related Article on Barcodes

What are QR Codes and Barcodes, and how can I use them?

 

Related Articles

Let's Keep in Touch

Subscribe and never miss another blog post, announcement, or special event. We hate spam and will never sell your contact information, we will only send you our monthly Member Jungle newsletter, full of great articles.