• Resolved channelriyas

    (@channelriyas)


    Hi,

    My SF form plugin was worked well but I just installed SSL certificate(TLS 1.2) after that I am facing this error “Failed to connect to Salesforce.com.” while sending form.

    I checked on debug but nothing unusual everything normal array contains option values like this

    Array
    (
        [version] => 2.0
        [successmsg] => Success!
        [errormsg] => This field is required.
        [emailerrormsg] => The email address you entered is not valid.
        [captchaerrormsg] => The text you entered did not match the image.
        [requiredfieldstext] => These fields are required.
        [sferrormsg] => Failed to connect to Salesforce.com.
        [submitbutton] => Submit
        [subject] => Thank you for contacting %BLOG_NAME%
        [showccuser] => 1
        [ccusermsg] => Send me a copy
        [email_sender] => 
        [ccadmin] => 
        [captcha] => 
        [da_token] => 
        [da_url] => 
        [da_site] => 
        [commentstoleads] => 
        [commentsnamefields] => 
        [usecss] => 
        [wpcf7css] => 
        [forms] => Array
            (
                [1] => Array
                    (
                        [form_name] => MainContact
                        [source] => Website
                        [labellocation] => top-aligned
                        [labellocationsidebar] => top-aligned
                        [returl] => https://www.mydomain.com/contactformsuccess/?st=ok
                        [type] => lead
                        [inputs] => Array
                            (
                                [first_name] => Array
                                    (
                                        [show] => 1
                                        [required] => 1
                                        [type] => text
                                        [label] => First Name
                                        [value] => 
                                        [pos] => 1
                                        [opts] => 
                                    )
    
                                [Name] => Array
                                    (
                                        [show] => 
                                        [required] => 1
                                        [type] => text
                                        [label] => Name
                                        [value] => 
                                        [pos] => 1
                                        [opts] => 
                                    )
    
                                [last_name] => Array
                                    (
                                        [show] => 1
                                        [required] => 
                                        [type] => text
                                        [label] => Last Name
                                        [value] => 
                                        [pos] => 2
                                        [opts] => 
                                    )
    
                                [company] => Array
                                    (
                                        [show] => 1
                                        [required] => 
                                        [type] => text
                                        [label] => Company
                                        [value] => 
                                        [pos] => 3
                                        [opts] => 
                                    )
    
                                [email] => Array
                                    (
                                        [show] => 1
                                        [required] => 1
                                        [type] => text
                                        [label] => Email
                                        [value] => 
                                        [pos] => 4
                                        [opts] => 
                                    )
    
                                [phone] => Array
                                    (
                                        [show] => 1
                                        [required] => 
                                        [type] => text
                                        [label] => Phone
                                        [value] => 
                                        [pos] => 5
                                        [opts] => 
                                    )
    
                                [Subject__c] => Array
                                    (
                                        [show] => 1
                                        [required] => 
                                        [type] => text
                                        [label] => Subject
                                        [value] => 
                                        [pos] => 6
                                        [opts] => 
                                    )
    
                                [description] => Array
                                    (
                                        [show] => 1
                                        [required] => 1
                                        [type] => textarea
                                        [label] => Message
                                        [value] => 
                                        [pos] => 7
                                        [opts] => 
                                    )
    
                                [title] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => text
                                        [label] => Title
                                        [value] => 
                                        [pos] => 8
                                        [opts] => 
                                    )
    
                                [street] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => text
                                        [label] => Street
                                        [value] => 
                                        [pos] => 9
                                        [opts] => 
                                    )
    
                                [city] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => text
                                        [label] => City
                                        [value] => 
                                        [pos] => 10
                                        [opts] => 
                                    )
    
                                [state] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => text
                                        [label] => State
                                        [value] => 
                                        [pos] => 11
                                        [opts] => 
                                    )
    
                                [zip] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => text
                                        [label] => ZIP
                                        [value] => 
                                        [pos] => 12
                                        [opts] => 
                                    )
    
                                [country] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => text
                                        [label] => Country
                                        [value] => 
                                        [pos] => 13
                                        [opts] => 
                                    )
    
                                [Campaign_ID] => Array
                                    (
                                        [show] => 
                                        [required] => 
                                        [type] => hidden
                                        [label] => Campaign ID
                                        [value] => 
                                        [pos] => 14
                                        [opts] => 
                                    )
    
                                [Lead_Source_Sub__c] => Array
                                    (
                                        [show] => 1
                                        [required] => 
                                        [type] => hidden
                                        [label] => Lead_Source_Sub__c
                                        [value] => Mydomain.com
                                        [pos] => 17
                                        [opts] => 
                                    )
    
                            )
    
                        [successmsg] => Success!
                        [captchaform] => 
                        [submitbutton] => Submit
                        [requiredfieldstext] => These fields are required.
                        [requiredfieldstextpos] => 
                        [org_id] => xxxxxxxxxxxxxxx
                        [cc_email_subject] => 
                        [donotautoaddcolontolabels] => 
                    )
    
            )
    
        [wpcf7jsfix] => 
        [sslverify] => 1
        [hide_salesforce_link] => 
        [org_id] => xxxxxxxxxxxxxxx
        [ccothers] => user1@myotherdomain.com
        [emailfromname] => MyCompany
        [emailfromaddress] => info@mydomain.com
        [captcha_type] => 
        [recaptcha_site_key] => 
        [recaptcha_secret_key] => 
    )

    Thanks!

    • This topic was modified 6 years, 11 months ago by channelriyas.
Viewing 1 replies (of 1 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    TLS is a protocol, not a certificate — I’m not sure what you’re saying you changed…

    Troubleshooting the OpenSSL/TLS configuration of your web server is not something I can support here as it has nothing to do with the plugin (it’s below even the level of WordPress).

Viewing 1 replies (of 1 total)
  • The topic ‘Failed to connect to Salesforce.com. after installing SSL certificate’ is closed to new replies.