JotForm v4 Square Integration Error: The `Authorization` http header of your request was malformed

  • Profile Image
    Videoman77
    Asked on January 12, 2017 at 10:48 AM

    I have my form set to test mode and it says "Square" is connected. However, i keep getting this error:

    Payment Error
    The `Authorization` http header of your request was malformed. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is to be replaced with your access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see https://docs.connect.squareup.com/api/connect/v2/#requestandresponseheaders. If you are seeing this error message while using one of our officially supported SDKs, please report this to developers@squareup.com.
  • Profile Image
    Mike
    Answered on January 12, 2017 at 01:08 PM

    It seems that there is an issue with the Square integration in our beta JotForm v4 editor. I have escalated a bug report ticket to our developers.

    In the meantime, please try to create a new form in JotForm v3 editor, or reintegrate your current form in v3 editor by using the next link.

    https://www.jotform.com//?formID=70113682703146

    Thank you.

  • Profile Image
    NeilVicente
    Answered on January 13, 2017 at 08:23 PM

    Hi there,

    We have applied a fix for this bug yesterday. Can you please let us know if the issue was resolved on your end or not?

    Thanks,

  • Profile Image
    NeilVicente
    Answered on January 13, 2017 at 09:47 PM

    By the way, kindly reconnect your form to Square first.

    You can do so by opening the Square Payment wizard, then changing the mode to Test Mode then back to Live Mode and finally clicking the Connect button.

    Do let us know how it goes for you thereafter.