• I am having trouble connecting to SalesForce to create a new lead.

    Here is the debug:

    *** Service ***
    Array
    (
        [name] => SalesForce
        [url] => https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8
        [forms] => Array
            (
                [0] => cf7_141
            )
    
        [success] =>
        [failure] =>
        [timeout] => 10
        [mapping] => Array
            (
                [0] => Array
                    (
                        [val] => 1
                        [lbl] => The SalesForce OID (hidden)
                        [src] => 00D36000000ZPFi
                        [3rd] => oid
                    )
    
                [1457372144750] => Array
                    (
                        [val] => 1
                        [lbl] => The SalesForce retURL (hidden)
                        [src] => http://beercaptrap.com/wholesale-information/
                        [3rd] => retURL
                    )
    
                [1] => Array
                    (
                        [lbl] => The submitter first name
                        [src] => first-name
                        [3rd] => first_name
                    )
    
                [2] => Array
                    (
                        [lbl] => The submitter last name
                        [src] => last-name
                        [3rd] => last_name
                    )
    
                [3] => Array
                    (
                        [lbl] => The email address
                        [src] => your-email
                        [3rd] => email
                    )
    
                [4] => Array
                    (
                        [lbl] => The phone number
                        [src] => BizPhone
                        [3rd] => phone
                    )
    
                [5] => Array
                    (
                        [lbl] => The company
                        [src] => biz-name
                        [3rd] => company
                    )
    
                [6] => Array
                    (
                        [lbl] => The website
                        [src] => website
                        [3rd] => URL
                    )
    
                [7] => Array
                    (
                        [lbl] => The street address
                        [src] => street-addr
                        [3rd] => street
                    )
    
                [8] => Array
                    (
                        [lbl] => The city
                        [src] => city
                        [3rd] => city
                    )
    
                [9] => Array
                    (
                        [lbl] => The state
                        [src] => State-Menu
                        [3rd] => state
                    )
    
                [10] => Array
                    (
                        [lbl] => The zip code
                        [src] => zip
                        [3rd] => zip
                    )
    
                [11] => Array
                    (
                        [lbl] => The message
                        [src] => your-message
                        [3rd] => 00N36000006sXsi
                    )
    
                [1457372179277] => Array
                    (
                        [lbl] => The form submission
                        [src] => contact-submit
                        [3rd] => SUBMIT
                    )
    
            )
    
        [separator] => ,
    )
    
    *** Post (Form) ***
    http://beercaptrap.com/wholesale-information/
    Array
    (
        [_wpcf7] => 141
        [_wpcf7_version] => 4.4
        [_wpcf7_locale] => en_US
        [_wpcf7_unit_tag] => wpcf7-f141-p88-o1
        [first-name] => ted
        [last-name] => test
        [your-email] => ted@gmail.com
        [BizPhone] => 1234567899
        [biz-name] => ballss
        [website] =>
        [street-addr] =>
        [city] =>
        [State-Menu] =>
        [zip] =>
        [your-message] => yes
        [_wpcf7_is_ajax_call] => 1
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 10
        [body] => Array
            (
                [oid] => 00D36000000ZPFi
                [retURL] => http://beercaptrap.com/wholesale-information/
                [first_name] => ted
                [last_name] => test
                [email] => ted@gmail.com
                [phone] => 1234567899
                [company] => ballss
                [URL] =>
                [street] =>
                [city] =>
                [state] =>
                [zip] =>
                [00N36000006sXsi] => yes
            )
    
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [date] => Mon, 07 Mar 2016 17:37:59 GMT
                [set-cookie] => BrowserId=UKxQQb6uR_C4Nr2CvDZLTg;Path=/;Domain=.salesforce.com;Expires=Fri, 06-May-2016 17:37:59 GMT
                [expires] => Thu, 01 Jan 1970 00:00:00 GMT
                [cache-control] => private,s-maxage=0
                [content-type] => text/html;charset=UTF-8
                [content-encoding] => deflate
                [connection] => close
            )
    
        [body] =>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <meta http-equiv="Refresh" content="0; URL=http://beercaptrap.com/wholesale-information/">
    </head>
    <script>if (this.SfdcApp && this.SfdcApp.projectOneNavigator) { SfdcApp.projectOneNavigator.handleRedirect('http://beercaptrap.com/wholesale-information/'); }  else if (window.location.replace){ window.location.replace('http://beercaptrap.com/wholesale-information/');} else {;window.location.href ='http://beercaptrap.com/wholesale-information/';} </script></html>
    
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => BrowserId
                        [value] => UKxQQb6uR_C4Nr2CvDZLTg
                        [expires] => 1462556279
                        [path] => /
                        [domain] => .salesforce.com
                    )
    
            )
    
        [filename] =>
    )

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Connecting from CF7 ro SalesForce Leads’ is closed to new replies.