• Resolved stuganda

    (@stuganda)


    Hi!

    I have been playing with the plugin trying to get it to work but have had zero luck. The form reports “success” once the form has been submitted but the data never appears in SalesForce. Here’s what I’ve done so far to help troubleshoot (to no avail):

    • Enabled debug mode in WP and tail the log. Nothing found there .
    • Check the SF debug log. Our “old” form populates a log. Using the plugin however no debug records are created.
    • Quadruple check the Org ID. It is correct.
    • Tail the Apache2, WP, and sys logs to see if any errors are generated. None are.
    • Generate the shortest form using the same default fields from the SF Web-to-Lead form generator.

    I know this is a great plugin but I’m at the end of my troubleshooting rope. Any suggestions on what else I can look at to help debug?

    Thanks in advance for your assistance!

    https://www.ads-software.com/plugins/salesforce-wordpress-to-lead/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Success means the data was sent to Salesforce and it responded with HTTP 200 “OK”.

    That does not mean it ended up in your org or wasn’t rejected by SF.

    But anything that would cause that not to happen is likely data related (missing required data, bad org id, over limit for web2lead, sandbox mode).

    If SF is rejecting leads, someone should be getting an email explaining why.

    I can’t help more without some context, e.g.

    Can I see the old and new form (e.g. a link to each)?
    Can I see your form & SF settings?

    Thread Starter stuganda

    (@stuganda)

    Thanks for the super quick reply Nick!

    I’ll gather some of that information this afternoon and get back to you with that.

    Plugin Author Nick Ciske

    (@nickciske)

    Note: Please make sure to check the box “Enable Salesforce debugging emails” in the Web-to-Lead settings page. Salesforce will then send you an email with a reason the lead or case wasn’t added.

    Hi I have the same problems as you.
    Did you find a solution?
    Hope you have good news. ??

    Hi Nick,
    where can I find the check the box “Enable Salesforce debugging emails”?
    Is it in Salesforce or in Wodpress?

    Plugin Author Nick Ciske

    (@nickciske)

    The box is not there anymore, the FAQ I grabbed that from is outdated.

    To turn on SF debugging:

    Add a hidden field named debug with the value of 1
    And/Or
    Add a hidden field named debugEmail with a value of your email address.

    Enable/disable those fields to enable/disable debugging output/emails.

    Plugin Author Nick Ciske

    (@nickciske)

    Note: You’ll need to upgrade to 2.4.4 – 2.4.3 and below have some old code that unsets the debug mode before submit.

    I have done the upgrade to 2.4.4 . But it sill does not work ??

    Plugin Author Nick Ciske

    (@nickciske)

    Worked for me. Can’t help without more info (e.g. a screenshot of your current form settings).

    OK, here we go.
    In WordPress -> Settings -> Salesforce

    in the “Settings” Tab:
    >>>Salesforce.com SETTINGS
    Your Salesforce.com Organization ID:
    [OUR SF ID] (more than double checked)

    >>>DADDY ANALYTICS
    all fields empty

    >>>BASIC SETTINGS
    Success message after sending lead to SalesForce:

    Error message shown when required fields are not filled out:
    [Vielen Dank fuer Ihre Kontaktaufnahme!]
    Error message shown when email field is invalid:
    [Bitte geben Sie die fehlenden Daten ein.]
    Default: The email address you entered is not valid.
    [Die eingegebene Mailadresse ist ungueltig.]
    Error message shown when captcha is invalid:
    [Der eingegebene Text stimmt nicht mit der Anzeige auf dem Bild ueberein. Bitte versuchen Sie es erneut.]
    Default: The text you entered did not match the image.
    Error message when Salesforce.com connection fails:
    [Failed to connect to Salesforce.com.]

    >>>EMAIL SETTINGS
    [x] Allow user to request a copy of their submission

    Request a copy text:
    [Bitte sende eine Kopie an mich.]

    Email subject:
    [Vielen Dank fuer Ihre Kontaktaufnahme bei %BLOG_NAME%]
    Use %BLOG_NAME% to auto-insert the blog title into the subject

    [x]Send blog admin an email notification

    >>>FORM SETTINGS
    Submit button text:
    [Nachricht an Firma senden]

    Required fields text:
    [Diese Felder duerfen nicht leer bleiben.]

    [x] Use CAPTCHA?
    Learn more about CAPTCHAs at Wikipedia

    >>>STYLE SETTINGS
    [x] Use Default CSS?
    [x] Use WPCF7 CSS integration?

    >>>COMMENT SETTINGS
    [ ] Create a lead when an approved comment is published
    [ ] Replace the “Name” field on the comment form with “First Name” and “Last Name”

    Using first and last name fields allows for cleaner Salesforce leads, otherwise the “first name” on the lead will contain the full name, but it may create issues with some WordPress themes.

    Our Form in the Form Editor:
    all Fields empty

    only active:

    Field: debug
    Operations: Enabled[x] Required[ ] Delete[ ]
    Type: Text
    Label/Value: Label:[debug] Value:[1]
    Options: [empty]
    Order[15]

    Field: Email
    Operations: Enabled[x] Required[x] Delete[ ]
    Type: Text
    Label/Value: Label:[Email] Value:[ ]
    Options: [empty]
    Order[16]

    Field: debugEmail
    Operations: Enabled[x] Required[x] Delete[ ]
    Type: Text
    Label/Value: Label:[debugEmail] Value:[“my_mailadress”]
    Options: [empty]
    Order[18]

    >>> FORM SETTINGS

    Form Type:
    [x] Web to Lead
    [ ] Web to Case
    Note: Daddy Analytics does not support cases at this time.

    Lead Source:
    [Lead von der Firma Website]

    Lead Source (up to 40 characters) to display in Salesforce.com, use %URL% to include the URL of the page containing the form (need more characters? See the FAQ). You can also use a field above to set the lead source (this value will not be used if a field named lead_source exists).

    Daddy Analytics will populate the Lead Source field with the web source of the Lead (such as Organic – Google, Paid – Bing, or Google Adwords). Daddy Analytics will also populate the Salesforce Address field with the estimated GeoLocation of your Leads.
    Leave the Lead Source field blank if you have a subscription to Daddy Analytics.

    Return/Thanks URL:
    [ -empty- ]
    e.g.https://yoursite.com/thanks/

    Success Message:
    [Vielen Dank fuer Ihre Kontaktaufnahme! Wir werden uns kurzfristig bei Ihnen melden.]
    Overrides the default message for this form.(leave blank to use the global setting)

    Submit button text (override):
    [Nachricht an Firma senden]
    Overrides the default message for this form.(leave blank to use the global setting)

    Required fields text (override):
    [Diese Felder dürfen nicht leer bleiben.]
    Overrides the default message for this form (leave blank to use the global setting).

    Captcha:
    [x] Use global setting
    [ ] Enabled for this form
    [ ] Disabled for this form
    Overrides the default captcha settings for this form.

    Required Fields Text Location:
    [x] Below Form
    [ ] Above Form
    [ ] None

    Label Location:
    [ ] Top Aligned
    [ ] Left Aligned
    [ ] Placeholders

    Salesforce.com Organization ID (override):
    [our SF ID]
    Overrides the default org_id for this form (leave blank to use the global setting).

    I think thats all. Do you need more? Hope you can help me.

    Plugin Author Nick Ciske

    (@nickciske)

    Uh… wow. A screenshot would have sufficed and actually been preferable (this is a bit hard to muddle through and I’m not sure if it’s 100% accurate to what you’ve entered, which is important when field names are case sensitive).

    Assuming “my_mailadress” is where you’ve entered your actual email address… and not literally “my_mailadress”, you should be getting an email per lead indicating it was successful or why it failed.

    Keep in mind that the email field is named email, not Email (see the new FAQ entry for a list of the actual field names you should use for built in fields).

    All I can say is adding the debug options to a standard form (e.g. the one you get when you create a new form in the plugin) yielded a success email per lead submitted, so the code works (for me at least).

    Thank you and sorry for so much text ??
    But I dont know how to send you a screenshot ??

    I have made a text copy of the settings and wrote everything exactly as in the plugin settings in WordPress.

    “my_mailadress” is of course an email-address ??

    That ist the content of the mail I get:

    Betreff: Salesforce Web to Lead Submission
    debug: 1
    Email: “my_mailadress”
    debugEmail: “my_mailadress”
    Lead Source: Lead von der ict GmbH Website

    I will nor try to change the field named Email in email. I did choose Email because the fieldname in SF also is named Email.

    Plugin Author Nick Ciske

    (@nickciske)

    Salesforce lies like a dog. Use the names in the FAQ ??

    That’s not the debug email, that’s the one the plugin sends.

    To post a screenshot, upload it to an image sharing service and post a link here.

    Or email it to me:
    https://thoughtrefinery.com/contact/

    Hi,
    I have contacted the SF Support. They told me to try the SF web to lead html scrpit on our homepage.
    I tried this script and it works. So SF says that they have no problem in saleforce. The Problem comes from the WP plugin.
    What can I do now?

    <!– ———————————————————————- –>
    <!– HINWEIS: Fügen Sie das folgende <META>-Element zu Ihrer <HEAD>-Seite –>
    <!– hinzu. Bearbeiten Sie ggf. den Zeichensatzparameter, um den –>
    <!– Zeichensatz Ihrer HTML-Seite anzugeben. –>
    <!– ———————————————————————- –>

    <META HTTP-EQUIV=”Content-type” CONTENT=”text/html; charset=UTF-8″>

    <!– ———————————————————————- –>
    <!– HINWEIS: Fügen Sie das folgende <FORM>-Element zu Ihrer Seite hinzu. –>
    <!– ———————————————————————- –>

    <form action=”https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8&#8243; method=”POST”>

    <input type=hidden name=”oid” value=”:-)_OUR_SF_ID_:-)”>
    <input type=hidden name=”retURL” value=”https://www.domainname.net”&gt;

    <!– ———————————————————————- –>
    <!– HINWEIS: Bei diesen Feldern handelt es sich um optionale Elemente für –>
    <!– die Fehlerbehebung. Kommentieren Sie diese Zeilen aus, wenn Sie einen –>
    <!– Test im Debug-Modus durchführen m?chten. –>
    <!– <input type=”hidden” name=”debug” value=1> –>
    <!– <input type=”hidden” name=”debugEmail” value=”[email protected]”> –>
    <!– ———————————————————————- –>

    <label for=”first_name”>Vorname</label><input id=”first_name” maxlength=”40″ name=”first_name” size=”20″ type=”text” />

    <label for=”last_name”>Nachname</label><input id=”last_name” maxlength=”80″ name=”last_name” size=”20″ type=”text” />

    <label for=”email”>E-Mail</label><input id=”email” maxlength=”80″ name=”email” size=”20″ type=”text” />

    <label for=”company”>Firma</label><input id=”company” maxlength=”40″ name=”company” size=”20″ type=”text” />

    <label for=”city”>Stadt</label><input id=”city” maxlength=”40″ name=”city” size=”20″ type=”text” />

    <label for=”state”>Bundesland</label><input id=”state” maxlength=”20″ name=”state” size=”20″ type=”text” />

    <input type=”submit” name=”submit”>

    </form>

    Plugin Author Nick Ciske

    (@nickciske)

    The plugin works, the problem lies in:

    Your form configuration
    Or
    A plugin conflict
    Or
    A theme conflict
    Or
    A server issue

    Incorrect form configuration is usually the culprit, but it’s not really covered by free support. Make sure field names match *exactly*, then try the steps below:

    Switching to a bundled theme can check for a theme conflict.

    Deactivating all other plugins, then deactivating them one by one can check for a plugin conflict.

    Server issues are outside the scope of free support. But can be investigated as part of a premium support ticket.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Plugin gives success message but leads do not appear in SF’ is closed to new replies.