• Resolved michaeltsg124

    (@michaeltsg124)


    Hey, thanks for the useful plug in!

    I’m currently facing issue setting up the salesforce -> WordPress sync. It says ‘Salesforce is successfully authenticated’ in the WordPress. I have created a mapping on Salesforce Create/update/delete to sync to a WordPress object.

    However on insert to SF it doesn’t appear to create the object, we don’t get any entry in the log menu either.

    I tried setting up the reverse (WP->SF) and that works

    I also noticed in our field map under /schedule our ‘pull from salesforce’ queue has 5 items (at one point last week it sync’d but we hadn’t mapped a mandatory WordPress field so we had errors). But now I don’t even see any errors so wondering if a bad mapping is holding up the queue. When I clear queue or plug in cache the queue still remains at 5 items though.

    Any help on how to configure the SF->WP relationship would be appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    You might want to turn on debug mode and see what the plugin is doing. In debug mode it will create a lot of log entries (in the log post type), so you don’t want to keep this on long-term, but at least you’ll be able to see what API calls it is making to Salesforce.

    Sorry, replied to the wrong thread.

    • This reply was modified 4 years, 10 months ago by danatpi.
    Thread Starter michaeltsg124

    (@michaeltsg124)

    @jonathanstegall thanks for the tip! with debug logs I see its calling services/data/v48.0/query?q=SELECT+Name%2C+Id+from+Contact+LIMIT+100.
    – this returns 5 contact objects so this must be what is displaying in the ‘Pull from Salesforce’ queue. However it’s strange that it’s calling for Contact objects because I have configured the field map to map to a Salesforce custom object I have, not the contact object.

    Any ideas why it’s choosing to query for contacts?

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @michaeltsg124 well, in the plugin admin settings, there’s an Authorize tab. On that tab the plugin lists a few contacts (up to 100, I think) just to show that it’s authorized enough to make a simple API call. I would guess that you are seeing a log for that, if you’ve visited that page in the admin. Otherwise I can’t imagine why it’s calling for contacts.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sync object from Salesforce to WordPress’ is closed to new replies.