Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Shwky

    (@shwky)

    @jonathanstegall
    I’ve also tried this solution and for sorry it doesn’t work because if you pass an empty field value from WP to SF required field , the process of pushing the object will exit .

    Thread Starter Shwky

    (@shwky)

    Thanks again @jaysitcc

    I figured out what is the problem but i cannot find a solution for it :

    – the problem is all the fields of wp_usermeta (like : first_name ) cannot pushed to SF object (contact or account) automatically on create , only the wp_users table data (like : user_login ) can be pushed directly automatic after registering user.

    – if i want to pass any wp_usermeta data to SF i must push it manually through the user profile again and it overwrite the empty old data .

    i think this problem is because of hooks order as
    1 -the plugin call its hooks to push data while wp create user.
    2 -and this done (step 1) before saving the user meta to db .
    3 – so the plugin hook called before the meta of the user been created so it send an empty values .
    – so i think the problem is here .
    But for sorry i cannot find a solution .

    Thank you again for your help and your time .

    Thread Starter Shwky

    (@shwky)

    Hello @jaysitcc
    thank you first ,
    yes the tables has been created successfully .
    I’m not using cron job here at all ,
    What I’m talking about is the fields isn’t pushed automatically to sales force on wordpress create user .

    https://ibb.co/fNtgqgM

    it works perfectly automatic when the salesforce object is “accounts” ,
    but when the salesforce object is “contact” i must push the object manually from user profile on wordpress.

    Thread Starter Shwky

    (@shwky)

    Man , You saved me !
    Worked like a charm .
    Thank You very much , if you were here in EGYPT i could buy you a cup of coffee 😀
    Thanks again.

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