Contact 7 and 3nd party integration

Hi,

I'm having a issue that my contact 7 form, which are connected to the 3rd party plugin, are sending the message, but returning error messages - so people write the same thing 15 time (not fun)

Could you please have a look,

Thanks,
Tomer

  • Tomer

    Thanks, sure here's all the info:

    The error on the front looks like this a simple error, try later message (I'm adding screen shot in Hebrew)
    on the back it looks like this (copying email):

    Forms: 3rd Party Integration Debug: Service 1
    Inbox
    x

    WordPress wordpress via wpengine.com
    5:30 PM (3 minutes ago)

    to marshallt
    *** Service ***
    Array
    (
    [name] => Service 1
    [url] => http://lm2.infogamy.com/api/v2/lead
    [forms] => Array
    (
    [0] => cf7_5028
    )

    [success] =>
    [failure] =>
    [timeout] => 10
    [mapping] => Array
    (
    [0] => Array
    (
    [lbl] => The submitter name
    [src] => your-name
    [3rd] => full_name
    )

    [1] => Array
    (
    [lbl] => The email address
    [src] => your-email
    [3rd] => email
    )

    [1455530397506] => Array
    (
    [val] => 1
    [lbl] => client id
    [src] => 9f0565ab03d9a9e60932a25157f2b219
    [3rd] => client_id
    )

    [1455530431194] => Array
    (
    [lbl] => uacid
    [src] => uacid
    [3rd] => uacid
    )

    )

    [separator] => ,
    )

    *** Post (Form) ***
    http://www.merkaz-shefer.org/north/
    Array
    (
    [_wpcf7] => 5028
    [_wpcf7_version] => 4.3.1
    [_wpcf7_locale] => he_IL
    [_wpcf7_unit_tag] => wpcf7-f5028-p4425-o1
    [your-name] => text
    [your-email] => test
    [address] => efefeqw
    [text-572] => eqwrewqre
    [tel-933] => 32432423
    [text-808] =>
    [text-229] =>
    [text-778] =>
    [text-929] =>
    [text-180] =>
    [gauid] => 562671321.1450241567
    [_wpcf7_is_ajax_call] => 1
    )

    *** Post (to Service) ***
    Array
    (
    [timeout] => 10
    [body] => Array
    (
    [full_name] => text
    [email] => test
    [client_id] => 9f0565ab03d9a9e60932a25157f2b219
    )

    )

    *** Response ***
    Array
    (
    [headers] => Array
    (
    [date] => Mon, 22 Feb 2016 15:30:31 GMT
    [server] => Apache/2.4.7
    [x-powered-by] => PHP/5.5.9-1ubuntu4.13
    [expires] => Thu, 19 Nov 1981 08:52:00 GMT, -1
    [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0, private, must-revalidate
    [pragma] => no-cache, no-cache
    [set-cookie] => Array
    (
    [0] => PHPSESSID=hi6poijmafhi7e80l7rmebvnt3; path=/
    [1] => XSRF-TOKEN=eyJpdiI6IkJrcmpHbkMrQVVjWFVKMW91TXp2ZGc9PSIsInZhbHVlIjoidGxoOWlWaGpQMkhBS1VhdjBHSnlXQTRTV0xxaWhteElucWNXeXBHcEY2ZmFwREtPUVZHSGdFczBQSEM2WDd2SzF6dWl2S0xweFRxbVFjWlpONUluSHc9PSIsIm1hYyI6Ijk1NGY4NzUxOWU4NzcwMDRmMmE1ZWFhNGYwMDQ2ZWIyY2FhMmVlYTJmZmVjNjRkYjEwZTBjZmY5OGIwM2M5NTMifQ%3D%3D; expires=Mon, 22-Feb-2016 17:30:31 GMT; Max-Age=7200; path=/
    [2] => laravel_session=eyJpdiI6ImFzenNqRW5uQzhtT0pzdzhBXC9WMzhBPT0iLCJ2YWx1ZSI6ImRNNmNDY1BYbkNGMVwvXC9ldytRamM1M0QzT3N1U3oxTjV0RHZpVW84c1hZNzA4U2hlSWdQczdwUlhxM1NiaUxmMGlydXk4VXViODBpbGl6Z2FibUtsS3c9PSIsIm1hYyI6IjdiYzVjYmVhZDAxNzNiMTQ1NjQ5NjAzOTdmNDM0NDQ4NTk2Y2I3YTNjMGI3YjkzZjBhZWZjZWQxZWRiYzY0ZWYifQ%3D%3D; expires=Mon, 22-Feb-2016 17:30:31 GMT; Max-Age=7200; path=/; httponly
    )

    [connection] => close
    [content-type] => application/json
    )

    [body] => {"success":1,"details":{"code":200,"message":"Lead send succesfully"}}
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    [0] => WP_Http_Cookie Object
    (
    [name] => PHPSESSID
    [value] => hi6poijmafhi7e80l7rmebvnt3
    [expires] =>
    [path] => /
    [domain] => lm2.infogamy.com
    )

    [1] => WP_Http_Cookie Object
    (
    [name] => XSRF-TOKEN
    [value] => eyJpdiI6IkJrcmpHbkMrQVVjWFVKMW91TXp2ZGc9PSIsInZhbHVlIjoidGxoOWlWaGpQMkhBS1VhdjBHSnlXQTRTV0xxaWhteElucWNXeXBHcEY2ZmFwREtPUVZHSGdFczBQSEM2WDd2SzF6dWl2S0xweFRxbVFjWlpONUluSHc9PSIsIm1hYyI6Ijk1NGY4NzUxOWU4NzcwMDRmMmE1ZWFhNGYwMDQ2ZWIyY2FhMmVlYTJmZmVjNjRkYjEwZTBjZmY5OGIwM2M5NTMifQ==
    [expires] => 1456162231
    [path] => /
    [domain] => lm2.infogamy.com
    [max-age] => 7200
    )

    [2] => WP_Http_Cookie Object
    (
    [name] => laravel_session
    [value] => eyJpdiI6ImFzenNqRW5uQzhtT0pzdzhBXC9WMzhBPT0iLCJ2YWx1ZSI6ImRNNmNDY1BYbkNGMVwvXC9ldytRamM1M0QzT3N1U3oxTjV0RHZpVW84c1hZNzA4U2hlSWdQczdwUlhxM1NiaUxmMGlydXk4VXViODBpbGl6Z2FibUtsS3c9PSIsIm1hYyI6IjdiYzVjYmVhZDAxNzNiMTQ1NjQ5NjAzOTdmNDM0NDQ4NTk2Y2I3YTNjMGI3YjkzZjBhZWZjZWQxZWRiYzY0ZWYifQ==
    [expires] => 1456162231
    [path] => /
    [domain] => lm2.infogamy.com
    [max-age] => 7200
    [httponly] =>
    )

    )

    [filename] =>
    )
    That's the mail I'm getting.

    the plug in is "Forms: 3rd-Party Integration"

    Waiting to se what you can figure out....

    Thanks,
    t.

  • Predrag Dubajic

    Hi Tomer,

    I checked your contact form on home page and the form was sent with notification message showing that it is infact sent so I'm not sure to what exactly you are referring to.

    Also, I noticed that you are using premium theme that was not downloaded from actuall theme provider but from some theme sharing site and such themes can contain malicious code and cause you issues on your site so I would suggest using themes/plugins downloaded from their official site.

    Best regards,
    Predrag

  • Adam Czajczyk

    Hello Tomer!

    and how did you see the theme was downloaded from somehere else (I didn't download it, I took over and am trying to slove things)

    Actually the theme brags about it. it's a premium theme form QuanticaLabs available at ThemeForrerst. Your theme includes altered theme header stating clearly that it was shared on "wplocker" site which contains tons of unauthorized and even stolen content. Please note however that neither me nor my colleague Predrag we're not referring to the fact you're using such a theme. The important thing here though is that Predrag is painfully right on this: files downloaded from such sites very often do include malicious code that may cause some further issues, including many backdoors and at best may be simply not up to date. I'm sure you understand that :slight_smile:

    As for the issue itself. I'm not familiar with the service you're using to capture leads from contact form but it seems that their servers are responding with a array of data instead of a simple HTTP status or a text message and this seems to be "confusing" integration plugin. I suppose it may be necessary to implement some additional logic in Forms 3rd-party integration plugin as described here:

    https://wordpress.org/plugins/contact-form-7-3rd-party-integration/other_notes/

    Have you already tried to get some help on this from plugin's developer? I think it would be great to post a question on plugin's support forum here as well:
    https://wordpress.org/support/plugin/contact-form-7-3rd-party-integration

    Would you give it a try and let me know what their response was?

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.