Announcement
Collapse
No announcement yet.
Wordpress Form Integration
Collapse
X
-
I am looking for an add-on or other posibility to get data from GravityForms into EspoCRM Leads.
Can someone help me with this?
-
Re-download the extension, just updated, in case you still have issues you may search on Wordpress resources, we informed from clients that it is working but we are not expert on Wordpress to guide how to fix WP issues.
-
must be good, will appreciate your feedback here if had any issues with it
-
Originally posted by eymen-elkum View PostFor non-developer users, you may interest in this product by eblasoft:
https://www.eblasoft.com.tr/product-...7-lead-capture
Leave a comment:
-
For non-developer users, you may interest in this product by eblasoft:
https://www.eblasoft.com.tr/espocrm-extension-page/espocrm-wordpress-contact-7Last edited by eymen-elkum; 04-18-2022, 07:27 AM.
- Likes 2
Leave a comment:
-
You shoud place code in the your theme functions.php (or use plugin like php inserter)
add_action('nf_remote_post_args', 'addHeaders');
function addHeaders($args) {
$args['headers'] = array(
'content-type' => 'application/json'
);
return $args;
}
Notice: I have no testing environment for your task and provided code not tested.
-
Thank you very much for your reply, but I still don't understand.
Where can I set the header?Where can i set nf_remote_post_args? with custom plugin? I'm not very familiar with the wordpress code, you would be very helpful if you could tell me the part of the code to add or change.
Thanks again very much
Leave a comment:
-
Ninja forms uses wp_remote_post (https://github.com/voceconnect/ninja...hooks.php#L313)
You can before do wp_remote_post set correct header info^
How can I set the content-type field to application/json in the header of my HTTP request when using the function wp_remote_post ?
I'm building a mailchimp integration and they require a POST call with JSON code. No, I'm using this code that actually works: $data = wp_remote_post($url, array( 'headers' => array('Con...
Also you don't need modify ninja web hook extension. You can modify parameters processing 'nf_remote_post_args' hook.Last edited by dimyy; 04-22-2019, 10:25 AM.
-
-
hi to all,
any solution to integrate the ninkaform plugin with the "webhook" extension in espocrm? when I try to send a request the content type is set as "content-type ":" application / x-www-form-urlencoded",
how can I set it as "content-type ":" application / json"?
Ninjaform support not give me any solutions.
Ninjaform's Webhook sends the lead correctly, but in a non-readable format from ESPO that rejects it with an error message because it is not in json format
Leave a comment:
-
Originally posted by mybers View PostAwesome suggestions!
But may I ask further if the form data captured sends to espoCRM as a Ticket case immediately? is there a straight resolution?
Thanks in advance.
You can add code like this (adjust X-Api-Key or use another authorization method). Also you can see needed fields in DevTool and repeat it in your code (attachment image)
Code:$param_array = array ( description=> "Test case description" name=> "Test Case" priority=> "Normal" status=> "New" ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"/api/v1/Case"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,($param_array)); curl_setopt($ch, CURLOPT_HTTPHEADER, array('X-Api-Key: XXX')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $server_output = curl_exec($ch); curl_close($ch);
Leave a comment:
Leave a comment: