How can I decrypt data from WebHook?

  • Victoria_S
    Asked on December 9, 2019 at 4:55 AM

    Hello. I have data from web hook and I want to get fullname from $_POST.

    I have this - https://take.ms/r6MyPJ

    How I can decrypt this data?

  • Girish JotForm Support
    Replied on December 9, 2019 at 7:21 AM

    I think when you integrate JotForm with Webhook this can be achieved. Please check this link: https://www.jotform.com/help/245-How-to-Setup-a-Webhook-with-JotForm 

  • Victoria_S
    Replied on December 9, 2019 at 7:34 AM

    Thank you for the answer but it doesn't help me.

    I need to know how can I decrypt the first and last name of the user which was filled in the form. I receive codes, and I need to obtain real first and last name.


    Could you help me?

  • Girish JotForm Support
    Replied on December 9, 2019 at 8:45 AM

    Please let us know the form URL. It could be possible that the form encryption is turned on in the Form Settings.

    If the form is encrypted, then you can view the data after filling the private key which would have been generated when you encrypted the form.

    Here is a related guide to form encryption and how it works: Encrypted-Forms-and-How-to-Use-Them 

  • Victoria_S
    Replied on December 9, 2019 at 8:55 AM

    Here is my form link:

    https://form.jotform.co/93278584464875

     

    Let me know what the problem

  • Victoria_S
    Replied on December 9, 2019 at 10:05 AM

    I checked form settings and the form is not encrypted

    That why I don't understand encrypted full name which I've received from web hook

  • Welvin Support Team Lead
    Replied on December 9, 2019 at 12:57 PM

    Is this the only field that you are sending to a 3rd party through Webhook? Can you clarify if all other fields, if you are sending multiple fields, are showing up correctly? 

    Would you also mind sharing your webhook codes with us? Please remove any private information. We only need to check the codes, and possibly try it to our end. I understand this is for WooCommerce, and I suspect it is through your webhook codes. Maybe it is automatically encrypting names, and WP does it the decryption for you. 

  • Victoria_S
    Replied on December 11, 2019 at 4:24 AM

    No, I send all fields from the form. For example email is shown correctly. 

    Here is my codes: http://prntscr.com/q97yvx 


    Please let me know if you find a reason/solution


  • jherwin
    Replied on December 11, 2019 at 5:57 AM

    Can you please tell us which name field is the one you're referring to?

    If the names in credit card details, as far as I know, you are not allowed to get the information in that credit card fields.
    1576061539which Screenshot 10
    Let us know if you are referring to other fields.

  • Victoria_S
    Replied on December 11, 2019 at 6:17 AM

    I need bottom one : Full Name for the voucher registration

  • jherwin
    Replied on December 11, 2019 at 7:41 AM

    Please try to get the first and last name using these class names:

    fullName[first]
    fullName[last]

    Please check this related thread as well: https://www.jotform.com/answers/212501