Hash sign issue on data submission to Webhook

  • Profile Image
    Kgr0up
    Asked on July 05, 2017 at 05:35 PM
    regarding the same issue, the # sign, I have a webhook for paypal plus, but I´m having issue when this sign is in the address is there a way to also encode it in a webhook so it passes as text and not as code?
  • Profile Image
    Kiran
    Answered on July 05, 2017 at 07:23 PM

    As I research on the internet, if CURL method is used it seems that the data can be encoded using the parameter --data-urlencode. 

    Could you provide us with more information on how the webhook is setup on the form? Are you referring to the same form https://form.jotformpro.com/71427955204962 integrated with PayPal? 

    If you are referring to a different form, please let us know. We will wait for your response. Thank you! 

  • Profile Image
    Kgr0up
    Answered on July 05, 2017 at 07:41 PM

    yes, I´m refering to that same form, I have an issue where the person wrote in the adress:

    street name # 23

    and that is giving me an error and cant process payment

    the thing is, it´s a two part registration, (as per clients request)

    we have form 1: https://form.jotformpro.com/70945330052954 where the unique id is created

    The info from form 1 is passed to form 2: https://form.jotformpro.com/71427955204962 and in this second form is where the webhook goes in action if they select payment with credit card

    if they choose payment with paypal they are sent to regular paypal

  • Profile Image
    Chriistian
    Answered on July 05, 2017 at 10:07 PM

    I understand that on the second form (https://form.jotformpro.com/71427955204962) is where the webhook integrated. However, can you please tell us where does the error occur? Is it when selecting the credit card as the form of payment or when selecting the PayPal option?

    Please note that webhooks will only trigger if the submission is complete and Paypal will notify that the payment is complete.

    I noticed on your form if selecting Paypal, there is no value or amount on the PayPal field. That could be the reason why it can't process payment. Another is, Webhooks will not trigger for incomplete submissions, meaning when the users directed to PayPal and they did not complete the payment process.

    Related Guides:

    How to view incomplete payments

    Paypal Incomplete Payments FAQ

    However, if I misunderstood your concern, please give us more details and do get back to us.
    Regards.

     

  • Profile Image
    Kgr0up
    Answered on July 06, 2017 at 01:03 AM

    Hope I can explain clearly,

    I have to forms of paymen, regular paypal and ppplus.

    I have a "total" field, and If the person selects Paypal, with a condition the amount from the "total" is copied to a hidden field and that is the field from wich regular paypal pulls the information and then sends to paypal page.

    if the person chooses credit debit card, the field for regular paypal is not populated (regular paypal stays inactive) and when the "continue" button is hit, the webhook goes into action and this is the error we get. We this a test without the "#" and it worked fine

  • Profile Image
    Chriistian
    Answered on July 06, 2017 at 03:12 AM

    I checked your second form ( https://form.jotformpro.com/71427955204962) and I noticed that the Webhook integration is not present. I also noticed that you are using Send post data on your form. Could you please try integrating your Form with Webhooks by following the instructions in this guide? How to Setup a Webhook with JotForm.

    If the issue still persists, please provide us more details so that we can advise you accordingly.

    Regards.

  • Profile Image
    Kgr0up
    Answered on July 06, 2017 at 01:59 PM

    My mistake!!! gave you the wrong 2nd form, this is the correct one where the webhook IS set https://form.jotformpro.com/70946449152967

  • Profile Image
    Kiran
    Answered on July 06, 2017 at 02:28 PM

    I have checked your JotForm and see that there is a webhook linked to https://myregistration.com.mx/payments/pagos/jf_pay.php. Could you share the code in the jf_pay.php file to take a look? You may remove any API keys used in the file and share the code using PasteBin

    We will wait for your response. Thank you!