zaus
Forum Replies Created
-
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] couldn't connect to host“Couldn’t connect to host” usually means it’s a problem with the endpoint, which isn’t something I can help you with.
Per https://rating-widget.com/blog/solution-for-wordpress-plugin-couldnt-connect-to-host/:
When does “couldn’t connect to host” can happen?
This is a common HTTP error may happen when a client server is trying to retrieve a remote web page by establishing a TCP connection.
What does “couldn’t connect to host” mean?
This error indicates that the remote web server did not accept the TCP connection request, and hence the HTTP request could not be conducted.
Why does “couldn’t connect to host” caused?
There are various reasons for this error, but here’s the most common ones:
Firewall mis-configuration: outgoing TCP connections are disabled. This is the most common reason for the error.
Crashed or failed web server processes: an error that happens on the remote server in the middle of the request process.
Network or router failure: an error that happens in your router’s connection or somewhere in the internet before actually getting to the remote server.Also, migration is pretty much mandatory as recent changes to CF7 have broken this plugin. Sorry!
Forum: Plugins
In reply to: [Contact-Form-7: 3rd-Party Integration] Method POST- Migrate from this old, unsupported plugin to the official new one, as per the stickies in this support forum (now with official migration support!)
- http://wordpress.org/support/topic/no-longer-supported-by-zaus-use-forms-3rdparty-integration?replies=1
- http://wordpress.org/support/topic/migrate-from-old-version-to-new-plugin-forms-3rdparty?replies=1
- Using the new plugin, try the hook indicated in the FAQ http://wordpress.org/plugins/forms-3rdparty-integration/faq/
Yes it was the CF7 update that broke it — they changed how form data is accessed.
Glad you were able to migrate, hope it wasn’t too much trouble.
Now migration is an official plugin:
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] How to upgrade from old version to this one?Plugin live: http://wordpress.org/plugins/forms-3rdparty-migrate/
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Is this plugin only for CRM integration?So as a followup, I ended up improving the 3rdparty Xpost add-on plugin I mentioned earlier so that you can nest individual fields by including a separator in the 3rdparty field name. See “how do I nest fields” on the FAQ http://wordpress.org/plugins/forms-3rd-party-xpost/faq/
I am interested in seeing a debug email from one of your repeating-input tests; maybe that’s something this plugin could handle by default.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Need field aliasing for GFSorry I didn’t get back to you — I was actually thinking about this issue the other day, and it would certainly be possible to write a field picker for the admin interface. It’s on my roadmap, but I have limited time to spare, so I’m not sure when I would get it done.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] 405 – Method Not AllowedWeird. Similar to what I said in this question about making a GET request instead of POST, you can write a ‘simple’ bypass hook to send the relevant
$post_argsviacurlinstead.Or send them via email. Or save to a database. Etc. (in case anyone else stumbles here looking for those suggestions…)
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] omitting the =Sorry I didn’t get back to you — did you ever figure it out?
If I understand you, you are trying to dynamically generate the URL as well as the post/querystring? If so, similar to what I answered for this question and that one, you’d have to write a bypass hook and create your url there before making your own
wp_remote_post(or_get).Or, now that I reread your question, maybe you’re misunderstanding what the debug email is saying? The url and the post body are two separate things — if you put stuff in the endpoint querystring it won’t show up in the post body, but it’s still getting sent. If you still need help, can you send me the full debug email?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] submit to salesforce and send emailSorry for the confusion. I wrote that description a while ago, and to be honest I don’t really remember what I meant 🙂 I think it was initially referring to the debug and/or failure emails that you can set up (recipient + toggle). That said, there are a couple places you can hook if you want to make up a custom email in addition to the regular emails the plugins send.
Since you mentioned MAIL 2, I’m assuming you’re using Contact Form 7? Are you saying that the normal mail configuration for that plugin isn’t working? This plugin doesn’t normally interfere with the contact form functioning; did you enable debug mode to see what kind of response you were getting?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] How to add target=_blank to url?Sorry for the delay. I’m a little confused — if your endpoint is
http://somesite.com/submission, but you want to include a querystring, you just enter it as well in the submission URL field likehttp://somesite.com/submission?target=_blank.Or do you mean that you need it to append it dynamically, from a form submission or mapping? Similar to this question about making a GET request, you could use the bypass hook and make your own post, customizing the url as needed (using functions like
http_build_query, etc)Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] couldn't connect to hostWhat’s preventing you from just putting the full url of the same site? The example “echo” test url indicated under the ‘Debug Mode’ setting is a script on the same server, and it works when you copy/paste that address.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Method GETSee ‘Hooks’ section, #5 of http://wordpress.org/plugins/forms-3rdparty-integration/other_notes/ and the source code.
You’ll need to perform
wp_remote_getinside that filter and set $post_args[response_bypass] with the response, something like:function my_3rdparty_get_override($post_args, $service, $form) { $post_args['response_bypass'] = wp_remote_get($service['url'], $post_args); return $post_args; }Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] 405 – Method Not AllowedNot entirely sure, but the error message coming back from the page is:
> The response MUST include an Allow header containing a list of valid methods for the requested resource
I don’t think that means you’re supposed to provide the header; have you tried contacting a representative from the endpoint? Where are you trying to post?