Awesome!

Name has been added to your Follow page.

My Follow Page

Name has been removed from your Follow page.

My Follow Page

Login



Serial Codes Generator and Validator with WooCommerce Support

by Saso Nikolov.

With support as WooCommerce serial generator for your sale, tickets and on your WooCommerce PDF Invoices
You can create and generate serials and codes …

4.3 Avg. Rating
400 Installs
Tested with WordPress 6.0.2

Manage your Serial Codes the easy wat.

Video

Allows you to manage codes (serials and ticket numbers) for your digital licensed products, event tickets and physical products. Your user enters the code on your page and checks if the code is valid. Or you can redeem the generated ticket with the builtin ticket scanner.

Optional for you is the included support for Woocommerce products and WooCommerce PDF Invoices – generate your WooCommerce serial or tickets directly with a purchase.

“Check out the overview video”

If you use woocommerce, you can uset the option to auto generate a serial code for each sold product!

WooCommerce is NOT required, but just additional supported by our plugin if needed by you.

Shop: With Serial Code Generator your will be able to sell license keys, event tickets, and products with a serial number or activation key. The plugin can create the code on the fly or use unused serials from your code list for each sold item.

Validation of serials: You customer can validate a serial on your page. The code generator gives you a flexible pattern to generate codes upfront. You can also import your existing codes.

Validation of tickets: You customer will get a link to a detail page and a PDF for each sold ticket.

Build your own stolen serial database: Support your customer and yourself to protect stolen products to be sold to others. Mark reported stolen products as stolen and let others check the serials.

How can you setup the serial code generator?
You can enter your codes within the WP admin area in the serial code section (a new menu point in the wordpress amdin area).
You can add your own codes manually using the serial code generator or import existing codes.
The codes can also be generated by the plugin. The serial code generator can create a bulk of serials or numbers as codes.
And you are also able to add your own codes by just entering them to the generated codes below the serial code generator.
If needed you can assign the codes to a list. The list (code list) helps you to organize the codes. The code list can be assigned to a WooCommerce product, if you want to add a serial code to each sold product.
Create one or more code lists to use the WooCommerce functionality.

How the serial code generator works
You define your look and feel for your codes. The generated codes will be unique. After you are satisfied with the generated codes, you can start the code adding step.
The code adding step will check if the code is unique on the server before adding it.
If the code (serial number/ticket number) exists already on the server, it will not be added.

The generator provides a lot of features:

  • Code prefix – you can enter a fixed prefix to each code
  • Length of code
  • Only letters
  • Uppercase, Lowercase or both
  • Exclusion of letters that are easy to missread (i,l,o,q,p)
  • Delimiter possible: [None, -, :, SPACE] – you decide after how many letters within the code
  • CVV code generation (only numbers)

Features

  • Sell event tickets with WooCommerce
  • Redeem event tickets at the entrance using the included ticket scanner
  • Limit purchase of WooCommerce products to people with a specific code (restriction feature)
  • Store WooCommerce orderid, itemid and productid to a serial code that was generated or used for a product sale
  • You can now set the serial code format for all WooCommerce product that are using a serial code
  • You can now set the serial code format directly on the WooCommerce product detail page if needed
  • Use your serials to restrict purchases to allow a purchase of this product only if the buyer has a code for it (purchase allowance code)
  • Add your own messages for the serial code validation form for your customers
  • Add your own message for the “product stolen” validation message
  • Disable the validation form for not logged in wordpress user
  • User can register to a code (with wordpress user id if needed) after the code is checked – this makes your code one-time usable
  • Display registered user information of a code during the validation if you need this
  • One time check is possible (with wordpress user id if needed) – the code will be marked as used after the check
  • One time check can have a maximum check amount based on code list or based on the global setting
  • Several checks allowed – the code will be marked as used after X confirmed checks
  • The user can be forwared (redirected) to an URL after the code was checked – to show more details
  • Webhooks – you can inform other systems about code validation steps by entering for serveral serial code status during the validation check
  • Display assigned serial codes to your user with a shortcode [sngmbhSerialcodesValidator_code]

Premium Features

  • Unlimited Codes (the basic allows you 500 serial codes)
  • Unlimited Code Lists
  • Save IP address of user using the code validation check on your page
  • De- and re-activate codes
  • Block IPs after x retries within 60 minutes – prevent brute force
  • One time usage overuled by code list setting
  • Enter expiration date for codes
  • Enter expiration date for code lists (code overrule list expiration date)

Try it out first, before you go Premium. “Here you can find the premium plugin”.

Build your own Stolen products database

You can set the status of a serial code to be marked as stolen. This way you can offer your customers a way to report a stolen product. Other buyers of used products can validate the code on your website and will be notified with a “Product is stolen” warning.
This could increase sales and help reducing theft of your products.
The check behaviour will be like “inactive serial codes” but with the stolen message. You can change the stolen message within the options area of the serial code admin.

Protection with CVV

You can set a code verification value (CVV) to protect your serial code. This allows you to print your serial code on the visible side of your product and print the CVV number on the open visible part of your packaging of your products. The validation check will ask the user to enter both for a valid check.
That way you increase the security of your serial codes and prevent stealing the serial code (If you are able hide the CVV on your packaging).
If you use a CVV on a serial code , then the user will be asked to enter this CVV too. If the CVV on your code is not set or empty it will be ignored and your customer is not asked for it.

Woocommerce support for auto-generating serial codes

Supports version 6+
You can use this plugin to auto-generate serial codes for your woocommerce products
* Create a code list
* Go to your WooCommerce product and edit the product which should receive a serial code
* Click on “Serial Codes and Sale Restrictions” in the attribute area of your product
* Choose the “Code list” that will be used for this product

Everytime this product is sold, it will get a new generated serial code or use an unused serial code within your list (This need to be activated within the option settings). The new serial code will be added to the code list you set on your WooCommerce product and to the product sale too.
If the sold product quantity in the order is more than 1, then a code will be generated for each element. The code will be generated after the purchase. In case of a refund the serial code will be recovered and marked as unused, so that it can be reused.

E.g.: Your customer bought 2 of the same product within one order, then 2 serials will be generated and stored to the product item within this order.

WooCommerce Serial Code Features

  • Automatically create and assign serial codes for physical products and digital products
  • Recover serial code assigned to refunded orders
  • Option to reuse the recovered serial codes with the latest orders
  • Automatically deliver the serial codes with the complete order email
  • Automatically deliver the serial codes with the optional PDF invoice “WooCommerce PDF Invoices”

Woocommerce support product purchase restriction

You can use this plugin to protect the sale of a product without a purchase code
* Create a code list
* Add codes to this list – these codes will be the allowance-code to purchase a specific product
* Go to your WooCommerce product and edit the product which should be restricted for buy-only-with-serial-code
* Click on “Serial Codes and Sale Restrictions” in the attribute area of your product
* Choose the “Code List for sale restriction”
* Activate the option “Activate the purchase restrictions of product sales without a valid and unused serial code”

Please note:
If you exceed your limit (no limits for premium user) of the amount of possible codes, then the code added to the sold product will be a text information: “Please contact our support for the serial code”.
This way your business is not harmed and your customer can contact you to get a serial code manually. The format of the serial code will be 12345-12345-12345-12345 if you do not set a generation format within the options.

WooCommerce PDF Invoices support to display the serial codes on the PDFs

If you use “WooCommerce PDF Invoices”, then the generated serial codes are displayed on the generated PDFs too!
The supported PDF plugin is from Ewout Fernhout.

WooCommerce Product Sale Restriction to code only

You can restrict purchases for a product to a code from a code list or any code you have. The purchase will mark the code as used and cannot be reused for the next purchase.
This allows you to offer products that can be only bought by customers, that have received already the purchase code.

WooCommer Ticket Sale

You can add a code list to your product and sell tickets. The serial will be added to the sale informations for you and your client.
The client will also have a link to check the ticket and mark the ticket as used, only if the order is set to completed. This will mark the ticket as redeemed.
You can check the entrance by letting your customer show the confirmation page and hit on the “redeem”-button.
Or you scan the QR code of the ticket with the ticket scanner (included). The ticket is also available as PDF for download to your customers.
Checkout the video, how it works

Frontend

  • Use the shortcode [sngmbhSerialcodesValidator]
  • Create a page or use an existing one and add the shortcode to the page
  • The shortcode will be replaced for your users by a form to enter the code and a button to validate the serial code. This allows you to surround the form with your own heading and instruction.
  • Each code has a display version (e.g. XYZXYZ -> XYZ-XYZ), so it is easier for your user to read the serial code.
  • The check will remove the display delimiter “-“, “:”, ” ” for the check automatically.
  • So your user can enter the code with or without delimiters.

If you use CVV on a code and the user enter the code that requires a cvv, then your user will be ask to enter the CVV.
The user could enter the CVV immediately with the code. Separate the value with a “:”. E.g: XYZXYZ:1234.

It is possible to prefill the serial code validation form with a code.
Add the parameter “code” to your page URL to create a link that prefills the form.
E.g https://vollstart.de/serial-codes/?code=123-456-789

Frontend event tickets

Your customer will receive a specific URL to the ticket detail page. You can control which information to display. additional they can download the ticket as a PDF.
The ticket will contain a QR code, that can be scanned by you or your team (no loggin to WordPress needed) and redeem the ticket.
Watch the video for it

Form Options for expert

You can use your own input, trigger and output HTML element.
Add the id parameter to your HTML elements and pass them to the shortcode as corresponding parameter.
You can add also your own JS function name that will be called before the code is checked on the server and also if the result comes back.
[sngmbhSerialcodesValidator inputid=”” triggerid=”” outputid=”” jspre=”” jsafter=””]
Read here more about this feature

Quick overview

Each code is unique. The list is for your organisation and for your WooCommerce products.

Plugin administration – where to find the plugin management area

It will add a new menu entry “Serial Codes Validator” within the settings section.

More about the plugin on our website

Support

Write to support@vollstart.de for support request.
For both plugins: The basic free and for the premium plugin.
We are here to help you.

GETTING STARTED

A Quick start is shown in this video.
A good first start is to open the serial code admin area and create a code list first.
Then add your codes by importing (add button at the code table) or assign the code list to your products.
Check out all the possible options in the serial code admin area to understand, how to tweak your usages of serial codes.
If you need a validation form for your users, to check the code, then please add the shortcode [sngmbhSerialcodesValidator] to a page.

Steps to start

  • Go to the settings and click on menu “Serial Codes Validator”.
  • Click on button “Add” next to the heading “Codes”.
  • Enter you codes or generate codes using the built in serial code generator.
  • Save your codes.
  • Add the shortcode [sngmbhSerialcodesValidator] to a page.

Premium Features

The premium plugin is now available with a lifetime license and 1 year support.

Your benefits

  • Unlimited Code Lists
  • Unlimited Codes
  • Upload CSV file for massive codes import
  • Assign serials to existing WooCommerce orders
  • Save IP address of user using the code validation check on your page
  • De- and re-activate codes
  • Block IPs after x retries within 60 minutes – prevent brute force
  • One time usage overuled by code list setting
  • Enter expiration date for codes
  • Enter expiration date for code lists (code overrule list expiration date)
  • See the redeemed ticket amount on the product detail view and on the ticket scanner
  • Download the redeemed ticket logs

Checkout the premium plugin and planned features: Serial Code Generator and Validator Premium

  • WordPress 5.0 or greater
  • PHP version 7.0 or greater
  • MySQL version 5.0 or greater

Installation

  1. Install the pluging using the WordPress built-in Plugin installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to “Settings” > “Serial Codes Validator” and add codes.
  4. Add the shortcode [sngmbhSerialcodesValidator] to a page to display the code validation form.

For more help and your first steps, please visit our website

2.3.14 – 2022-10-06

  • JS redirect fixed

2.3.13 – 2022-10-05

  • Add button to display the QR with just the serial code in it
  • Add new option to add an URL for the QR code to be displayed
  • Add button to display the QR with an URL in it
  • Add new filter for JS redirect “sngmbh_serial-code_getJSRedirectURL”
  • Add CVV on the email and PDF for purchased serials if available
  • Fix clickable serial code in order view if more than one serial was added

2.3.12 – 2022-09-22

  • Default value is changed to true for the option reuse not used serial codes within a code list assigned to a product
  • Fix ticket scanner URL

2.3.11 – 2022-09-21

  • Add new information to the support area
  • Optimized the URL building for the ticket URLs

2.3.10 – 2022-09-10

  • Time optimized for code imports
  • Ticket scanner error message optimized
  • Ticket scanner scan and loading of the ticket optimized

2.3.9 – 2022-08-27

  • Add new parameter “action” for the URL to the validation form. You can now trigger the validation with the paramter in the URL.

2.3.8 – 2022-08-22

  • Deletion of code also removes now the information on the product
  • Code optimization

2.3.7 – 2022-08-20

  • Fix product formatter values

2.3.6 – 2022-08-09

  • New browser window open if clicked on the ticket detail view after purchase an event ticket
  • Code list at WooCommerce product detail is sorted now
  • Allow HTML like on posts for event ticket short description and info text
  • Display price on ticket with currency and two decimal digits

2.3.5 – 2022-08-07

  • Default display for one time usage of a restriction code is set to be 0
  • Correct typo for “ticket redeemed” default message
  • Code optimization
  • HTML can be used on the ticket detail note and product description
  • Font changed to support arabic letters

2.3.4 – 2022-08-01

  • Fixed restrict purchase form

2.3.3 – 2022-08-01

  • Fixed restrict purchase form

2.3.2 – 2022-07-28

  • DB Prefix changed

2.3.1 – 2022-07-28

  • QR Code for tickets fixed

2.3.0 – 2022-07-27

  • Add more support information to the support area
  • Add repair table button to support
  • A default list is now created with the initial installation
  • Add ticket checks for stolen and inactive codes
  • Fixed activation bug
  • Prepared for the next premium version
  • Changed some major components and communication channel between objects

2.2.2 – 2022-07-25

  • Import für exported codes added
  • Fix JS pre function
  • Added php filter_hooks for pre and after code checks
  • Add additional information for the validation message

2.2.1 – 2022-07-10

  • Ticket PDF error message optimized
  • Tickets can be scanned and redeemed immediately to save time
  • New ticket option: You can activate that only an admin user can start the ticket scanner page
  • New Option for restriticted WooCommerce sale code: You can define how the code used as a restriction code is marked as used
  • Changed action parameter name to prevent collision with some other plugins
  • Add new text message added for validation if the ticket is redeemed
  • Code optimization
  • Premium Serial Helper added

2.2.0 – 2022-06-22

  • You can sell now tickets for your event
  • Ticket serial code is printed on the purchase emails and confirmation page
  • Added ticket “is-used” page for your client
  • New webhook URL for “WooCommerce order removed from code”
  • Add webhooks for ticket sale
  • Add export fields for WooCommerce sale restriction
  • Add export fields for WooCommerce ticket sale
  • Serial code is printed also on the confirmation email of a sale
  • Scanner to redeem tickets added

2.1.20 – 2022-06-10

  • Changes on the global variable

= 2.1.19 – 2022-06-06
* Adopted code to support PHP 8
* Adopted code to support non globals and $_REQUEST variable

2.1.18 – 2022-05-26

  • Code optimization
  • Bugfix for meta data display of a code
  • Add a support button for support information of the chosen options

2.1.17 – 2022-05-24

  • Woocommerce restriction code check will be now reloading the page, to change the error message or to remove it.
  • Bugfix for the get_options

2.1.16 – 2022-05-13

  • Ip blocker issue for unknown codes fixed

2.1.15 – 2022-04-12

  • Add validation fields to the export

2.1.14 – 2022-03-21

  • Add new seperator option for serials printed on PDF invoices and on the “complete order” email
  • Code optimized
  • Add details about the first successful validation check
  • More clear error messages

2.1.13 – 2022-03-01

  • Add new URL replacement tags from the meta information of a code to have the value if available added to the redirect, webhook URL and text messages
  • Add new code export setting to filter for a code list
  • Add new option to control the seperator to display the assigned codes to the user
  • Optimized refreshing for restriction codes on the WooCommerce cart

2.1.12 – 2022-02-16

  • You can use the replacement tags for the URLs also your own text messages
  • Add new URL replacement tag {LIST_DESC} to have the list description added to the redirect and webhook URL
  • Add new option to allow a redirect for a already registered code, if the user is the one that is registered to the code
  • Bug fix for one time use message

2.1.11 – 2022-02-14

  • Display serial codes assigned to your user via new shortcode [sngmbhSerialcodesValidator_code]
  • Bug fix for JS after call

2.1.10 – 2022-02-07

  • Bug fix for order->id access on Woocommerce
  • Bug fix storing the option values

2.1.9 – 2022-02-02

  • Add do_actions for several functions
  • Add apply_filters for several functions
  • Add a new webhook for “new a code was purchased”
  • JS redirect fix for code list empty URLs

2.1.8 – 2022-01-27

  • Add code list description that can be displayed to the successful validation check
  • JS Redirect for the code list added. It will overwrite the global JS redirect URL
  • Own messages can contain now also the URL placeholder
  • Fix the CVV check in combination of one time usage

2.1.7 – 2022-01-17

  • Add custom serial code format for WooCommerce product sales to the product edit page
  • Add custom serial code format for WooCommerce product sales to the code list
  • Add warning if using a very old WooCommerce version and deactivate the sales restriction feature

2.1.6 – 2022-01-11

  • Add new option for numbers. You can now have only numbers as a serial code
  • Small optimizations numbers assignment to auto generated serial code

2.1.4 – 2021-12-30

  • Add global custom serial code formatter for WooCommerce product sales into the serical code options
  • Code optimization

2.1.3 – 2021-12-15

  • Add filter option on codes for code lists
  • Add filter option for columns with command syntax uppercase columname followed by : and the search value

2.1.2 – 2021-11-30

  • Error fix for input mask for restricted products
  • Sold serial code (in woocommerce) are now added before the email is sent to your customer

2.1.1 – 2021-10-25

  • Bug fix for non woocommerce users

2.1.0 – 2021-10-25

  • New options to restrict purchases of individual products. The purchase is possible only with a serial code
  • The displayed texts for the purchase allowance code can be customized
  • Added Option if an order is delete or a refund is activated to free up used purchase allowance code
  • Renamed WooCommerce serial code section to “Serial Codes and Sales Restrictions”

2.0.12 – 2021-10-21

  • bugfix on option value

2.0.11 – 2021-10-11

  • New options to control the color of the validation button
  • Added support for compression
  • New option to prevent the serial code put in the outgoing email to the customer for a WooCommerce sale
  • Add your pre-text for the serial code also to the outgoing email to the customer for a WooCommerce sale

2.0.10 – 2021-10-02

  • New option to add your own text if the serial code is printed on the PDF invoice for a WooCommerce sale
  • New option to prevent the serial code printed on the PDF invoice of a WooCommerce sale

2.0.9 – 2021-10-01

  • bug fix for woocommerce reusing serial code and optimization of code update parts

2.0.8 – 2021-09-29

  • bug fix for woocommerce reusing serial code

2.0.7 – 2021-09-23

  • Display if a code is used in the code table
  • Bug fix storing used registration information

2.0.6 – 2021-09-07

  • New option to use existing codes for WooCommerce purchases, if they are not already register to a user purchase
  • New option to change the text on the WooCommerce purchases, if you run out of the free plugin codes amounts – only for basic plugin, not applicable for premium plugin, because they can generate an unlimited amount of codes

2.0.5 – 2021-08-24

  • Added serial code information to the email notification “order completed”

2.0.4 – 2021-08-23

  • New option to change the check-button on the serial code validation frontend form
  • New option to change the placeholder value of the input field on the serial code validation frontend form

2.0.3 – 2021-08-16

  • New paramater “userid” for redirects and webhooks added
  • fixed to recognize if the user is logged in

2.0.2 – 2021-08-15

  • added JS redirect to free plugin
  • JS redirect will be executed after an optional activated “user registration” is done

2.0.1 – 2021-07-20

  • bugfixes

2.0.0 – 2021-07-19

  • Add all premium features (except IP Tracker, IP Brute Force Protection, Bulk action for stolen and deactive code, overruling the onetime rules within a code list) to the free basic plugin
  • Optimized performance
  • Warning: Reduced the max values from 1.000 to 500 – you will keep your codes above this value, but cannot add more as long as you do not have the premium plugin
  • You can now overwrite the message for “Code and CVV is not valid”

1.1.13 – 2021-06-17

  • Adding “Stolen” status to the serial code, you can set your serial code now to status “stolen”
  • Changed color of activ serial to green
  • Changed color of inactiv serial to gray
  • Color of “stolen” status will be red for better recognition within the admin area
  • Fixed code sorting in admin area

1.1.12 – 2021-06-07

  • Fix code error
  • Added Woocommerce functionality: Auto-generate a serial code for each sold product item
  • Remove Order information from the code and woocommerce order
  • Support WooCommerce PDF Invoices: Serial code is printed on the PDF invoice

1.1.11 – 2021-04-13

  • Optimization for frontend calls
  • Fixed list table display elements per page

1.1.10 – 2021-04-12

  • You can enter now a prefix within the code generator

1.1.9 – 2021-04-09

  • Fix search paging on codes
  • Removed warning message about the plugin version

1.1.8 – 2021-03-18

  • Fix code creation without CVV
  • Loading wp jquery-ui-dialog.css in case your theme do not have it

1.1.7 – 2021-03-14

  • Adding security level with CVV (Code Verification Value) option
  • Updating to WordPress 5.7
  • Small optimizations

1.1.6 – 2021-03-02

  • Minor optimization and premium connector fix
  • Export fixed

1.1.5 – 2021-01-28

  • You can now add codes to be imported multiple times with the code generator.
  • Shortcode is extended. You can use now your own input, trigger and output html element. Just add the id parameter to your html elements and pass them to the shortcode.
  • You can add now also your own JS function name that will be called before the code is checked on the server and also if the result comes back.
  • [sngmbhSerialcodesValidator inputid=”” triggerid=”” outputid=”” jspre=”” jsafter=””]

1.1.4 – 2020-11-24

  • Export for premium optimized

1.1.3 – 2020-10-21

  • Added a range chooser and order selector for export, to prevent disruption of long running execution if you have a lot of codes and a slow server

1.1.2 – 2020-10-02

  • Fixed messages for premium text

1.1.1 – 2020-09-29

  • Fixed messages for code is expired message und code is already registered

1.1.0 – 2020-09-27

  • Optimization for the timeout issue while adding the serial codes. Display now the progress and store the codes in sequenz with chunks of 100 codes.

1.0.9 – 2020-09-26

  • Added bulk operation on codes. Delete the selected codes within the table in the admin area.

1.0.8 – 2020-09-21

  • Added chooser for code-export delimiter and filesuffix

1.0.7 – 2020-09-14

  • Added object return value for more premium features

1.0.6 – 2020-09-10

  • You can now add your own codes as a comma separated list and mix “,” with newlines if needed

1.0.5 – 2020-07-11

  • Repaired to detected the premium plugin, with changed plugin folder name

1.0.4 – 2020-07-08

  • Repaired empty messages
  • Added CSV export function for codes

1.0.3 – 2020-07-01

  • Added option to empty tables

1.0.2 – 2020-06-25

  • Added Premium Hooks and callbacks to the validator
  • Added option to connect registered user to a code (premium hook), so that the code can be validated only once

1.0.1 – 2020-06-15

  • Added Premium Hooks and callbacks options
  • Expand the table for IPs
  • Add your own messages for the code check reply

1.0.0 – 2020-06-13

  • Initial Public Release