• I’ve purchased the pro version and love it so far. I’m stuck on updating a user_meta field, however. Here’s my use case:

    – Form field containing a list of accounts (field name is ‘account’).
    – Request URL has variables in url params (&user_id={user_id}&role={new_role}&account={account}&user_email={user_email})
    – Field Values – I’ve tried several ways to get the data to be posted without success.
    * key: account | value: {account}
    * key: account | value: {account:12} (12 being the fieldID)
    * key: user_meta | value: account,account
    and more. Any direction you can give would be fgretaly appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ccollett

    (@ccollett)

    My logfile

    2019-11-15 21:15:51.412976 - DEBUG --> GF_Webhooks::process_feed(): Webhook successfully executed. code: 200; body: {"success":true,"msg":"User successfully updated.","data":{"user_id":26,"user_data":{"user_email":"1a@example.com","ID":26,"role":"commercial_account","meta_data":"ABC","additional_roles":false}}} 
    2019-11-15 21:15:51.413126 - DEBUG --> GF_Feed_Processor::task(): Marking entry #210 as fulfilled for gravityformswebhooks 
    2019-11-15 21:19:42.439405 - DEBUG --> GFFeedAddOn::maybe_process_feed(): Checking for feeds to process for entry #211 for gravityformswebhooks. 
    2019-11-15 21:19:42.439843 - DEBUG --> GFFeedAddOn::maybe_process_feed(): Adding feed (#6 - Update Role) for entry #211 for gravityformswebhooks to the processing queue. 
    2019-11-15 21:19:43.719538 - DEBUG --> GF_Feed_Processor::task(): Starting to process feed (#6 - Update Role) for entry #211 for gravityformswebhooks. Attempt number: 1 
    2019-11-15 21:19:43.721307 - DEBUG --> GF_Webhooks::process_feed(): Sending webhook request to https://example.com/?wpwhpro_action=update-role&wpwhpro_api_key=*******************************************************************************&user_id={user_id}&role={new_role}&account={account}&user_email={user_email}; Array
    (
        [body] => {"action":"update_user","user_email":"1a@example.com","role":"commercial_account","access_token":"09221970","account":"ABC"}
        [method] => POST
        [headers] => Array
            (
                [Content-Type] => application/json
            )
    
        [sslverify] => 1
    )
     
    2019-11-15 21:19:44.677954 - DEBUG --> GF_Webhooks::process_feed(): Webhook successfully executed. code: 200; body: {"success":true,"msg":"User successfully updated.","data":{"user_id":26,"user_data":{"user_email":"1a@example.com","ID":26,"role":"commercial_account","meta_data":false,"additional_roles":false}}} 
    2019-11-15 21:19:44.678087 - DEBUG --> GF_Feed_Processor::task(): Marking entry #211 as fulfilled for gravityformswebhooks 
    Plugin Author Ironikus

    (@ironikus)

    Hey @ccollett – thank you a lot for your message.
    Unfortunately, it is not allowed to maintain support questions for pro versions in the WordPress Support area – so they might close this thread.
    Please reach out to us using our contact form here: https://ironikus.com/contact/
    Thank you already a lot! (And thanks for supporting our plugin!)

    Thread Starter ccollett

    (@ccollett)

    message sent, thanks.

    Plugin Author Ironikus

    (@ironikus)

    Hi @ccollett – Unfortunately we did not receive any message. Can you please check that again?
    Thank you a lot.

    Thread Starter ccollett

    (@ccollett)

    Sent another test from your contact form

    Plugin Author Ironikus

    (@ironikus)

    Hi @ccollett – This time it arrived, thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem Updating user_meta’ is closed to new replies.