• Resolved surety-systems

    (@surety-systems)


    I have been trying to get CF7 to post form data to Pardot. I came across your plugin and none of the settings I have tried to do seems to work. I cannot tell if this is on Pardot’s side or the plugin’s. Please help.

    This is the debug file I get via email:

    *** Service ***
    Array
    (
        [name] => Pardot
        [url] => https://go.pardot.com/l/74542/2015-10-07/2gdx7h
        [forms] => Array
            (
                [0] => cf7_2226
            )
    
        [success] =>
        [failure] =>
        [timeout] => 10
        [mapping] => Array
            (
                [0] => Array
                    (
                        [lbl] => Email
                        [src] => email-address
                        [3rd] => Email
                    )
    
                [1] => Array
                    (
                        [lbl] => First Name
                        [src] => first-name
                        [3rd] => First Name
                    )
    
            )
    
        [separator] => ,
    )
    
    *** Post (Form) ***
    http://www.suretysystems.com/oracle-jd-edwards-infocus-2015-conference-recap/?theme=HighendWP-child
    Array
    (
        [_wpcf7] => 2226
        [_wpcf7_version] => 4.3.1
        [_wpcf7_locale] => en_US
        [_wpcf7_unit_tag] => wpcf7-f2226-p2788-o1
        [first-name] => test
        [email-address] => test@verizon.net
        [g-recaptcha-response] => 03AHJ_Vuu3lecisQz2L8McJ97FMqCgYeHYH1Ud-MJptCypSPxqZXFucl0DM-EDUr8XTG-nk1yrZ2wZkBBKRctse1NJS_hRN8pWjoLYKEiaeRvI2IjX728SwlmzWKPnUSSTatqzXYOKvO01Bmy9-gZtPbo3RknI7yl4t2tOIDBkAXH2vAEvtR3SGo7VL_DzlCfCJ2ehAPn8wMcDVvDKwvBQk4P1EWuFUzU6MDUeFtAWh1xu7RcmmSet6DAjOqQfqIpYilK9p593l5TYu-3cGURrGY4Yb0AwzFns2cNLejCYxfp_MJSvVk24PzG03l4JmxT3049HmV1eI478HFrvGOQ3x8vACZmAxoTxGsaMXb3ZSDs9E1OZ3I1YIt96MlzJJCZp3gJduJSps7ivyxHgH_J5D0g8E0XaLQZntL_aAV4vE8yGNQcribBbuufxhuFsG1heT5yPToGQ5v1gaYGgrHpcK4N0UV47mAXKVnZCr-XDbW4cBgIaoi2jgqYt-X2ZB92pO7e7El9Qdm4iM3j1J5EpR1JzEd7_kfZ44Xrt6gjvbkxje8tTFbDPAi53pn_FYpnwfteDz6Zk2yRWaoXG3VoNOVT_7TwAaKu5a2m7zh9zjp19O2NFhKSfAKmtWXO3UdmS-b_9hN2XDdM8KDNTPOENl8QsgeFjNL7gLr4bzGyQ0_3To5HKkODL5wJhwWv0gLHs0_GmzCklqNzab3ScD7Q3hY2BBR_W-EkM3NEIw_3bsBSrxAL7U-Re8csRCp1-8DBlr4xtXsAd0i94HRE3fH3edi3yUPKEps6MmY_kUwzA4bap1GzSuajq9nSpv06WGZ8clpeWjYtCUVXnzG8wc5jLGh-dYvxzjkuuqc4eGYsiS9X2xZfQDVt3JKDYQWSgKRp7K1nleROdql2LtUyRU3dkhsVf-Kbg-8KoOZAu2z4Oh3DHaMLQxm81cdzlEF5S1uh_asP-ft-7YjDEETZp3qccVP1IR9NOQdp-jA
        [bb2_screener_] => 1453905092 24.199.154.170
        [_wpcf7_is_ajax_call] => 1
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 10
        [body] => Array
            (
                [Email] => test@verizon.net
                [First Name] => test
            )
    
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [date] => Wed, 27 Jan 2016 14:31:52 GMT
                [set-cookie] => pardot=uf8f1u54alscdf71goghr2j5l5; path=/
                [expires] => Thu, 19 Nov 1981 08:52:00 GMT
                [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
                [pragma] => no-cache
                [vary] => Accept-Encoding,User-Agent
                [content-encoding] => gzip
                [content-length] => 146
                [connection] => close
                [content-type] => text/html; charset=UTF-8
                [x-pardot-route] => 32427ff3465437d362f61c790f7d2406
                [server] => PardotServer
                [x-pardot-lb] => a65e5ad81ddc854a7430dbd53eb313b3
            )
    
        [body] => Cannot find error page to redirect to. Please use your browser back button.<br/>Please correct the following errors:~~~ - Email field is required.~~~ - First Name field is required.~~~
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => pardot
                        [value] => uf8f1u54alscdf71goghr2j5l5
                        [expires] =>
                        [path] => /
                        [domain] => go.pardot.com
                    )
    
            )
    
        [filename] =>
    )

    URL: http://www.suretysystems.com/oracle-jd-edwards-infocus-2015-conference-recap/?theme=HighendWP-child
    Plugins: CF7, ReCaptcha, Forms - 3rd Party Integration

    https://wordpress.org/plugins/forms-3rdparty-integration/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author zaus

    (@zaus)

    You’ll have to check with pardot, but I’m guessing the “Email” and “First Name” fields are actually the labels, and you’ll need to map to their ‘machine names’ instead.

    Hi! I have the same issue. Did you manage to adress this issue?

    Thread Starter surety-systems

    (@surety-systems)

    Yes I did. this is what I had to do:

    1. In the 3rdParty Services Settings in WordPress, you must leave debug mode CHECKED. If unchecked it, it fails.
    2. In the 3rdParty Services Mapping section, keep the field names EXACTLY as in Pardot. Examples:

    • Label = Email (can be anything), Form submission Field = email, 3rdParty Field = email.
    • Label = First Name(can be anything), Form submission Field = first_name, 3rdParty Field = first_name.
    • Label = Last Name(can be anything), Form submission Field = last_name, 3rdParty Field = last_name.

    Then save.
    Then in Pardot’s Form Handlers Form Field Mapping, the names have to me exact and marked as required. Examples:

    • External Field Name (for email) = email
    • External Field Name (for first_name) = first_name
    • External Field Name (for last_name) = last_name

    Hope that is clear enough.

    Plugin Author zaus

    (@zaus)

    That’s kinda of weird that you’d have to leave debug mode enabled; what do you mean that it fails? Someone else reported a similar problem, that they couldn’t turn debug mode off, but I can’t reproduce any issues related to that problem.

    Plugin Author zaus

    (@zaus)

    Assuming resolved.

    Also, it seems like Pardot is another integration that is basically the reverse of my plugin, in that it lets you set up mappings for what to accept (rather than send).

    I still would like to know why you need to leave debug mode on; the only time that’s used is after everything is sent.

    Thread Starter surety-systems

    (@surety-systems)

    Yes, your plugin works great. I did some testing a little while back. It works properly when debug mode is both off and on now.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CF7 & Pardot Integration’ is closed to new replies.