Support » Plugin: WooCommerce Serial Numbers » Decrypt serial number

  • Hi, I am looking to use this plugin to provide customers with a unique serial number which I am hoping can then be used to log into a restricted area of my site rather than using usernames and passwords. I understand that I will need to create the login and authorisation processes as this is not part of the plugin. I can see the table where the serial numbers are stored in the database but they are encrypted. How do I go about decrypting them so that I can check the value the customer has entered in my login form matches the serial number stored in the database?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor pluginever


    Hello there,
    If user takes serial key value from a form, he can check it valid or not using our API. The endpoint will be and request will be checked.
    please go through our API Documentation.
    when they check form data validation, they immediately hit at the api and check if the value exists or not. Then proceed to the next step according to result.

    Thread Starter jcstanley


    Hello, that’s great. I have now got a form to check if the supplied email address and serial number exists when a form is submitted using your api and can see the result by using var_dump.

    How do I access the information stored in this var_dump variable? For example, I would like to show error messages to the user if the submitted data is not found or valid.

    Plugin Contributor pluginever


    In the given response if “success” : true Then the request is valid.
    If not it will throw error when “success”: false”.

    Thank You.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Decrypt serial number’ is closed to new replies.