zaus
Forum Replies Created
-
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] add_action not firingIt’s because you’re not declaring the hook correctly – you’re pointing it to a class function with
&$this:
array(&$this, ‘funrez_set_wc_member_cookie’),If you’re just using plain functions:
add_action('...', ‘funrez_set_wc_member_cookie’);I have no idea how that’s possible. What’s your setup (plugin, wp, php versions) and what’s the debug email look like? Please try to check the raw debug email, as it may be that your email client is just misformatting a correctly structured submission.
That’s strange. I know there’s a latest PHP incompatibility with the named constructor, but that line number is for an inline closure which should be fine. Did you also change your PHP version?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Gravity Forms Field IDAs the author of the actual plugin in question, I can state that you can refer to GF fields by either field id or label. But I don’t think the id shown on the gf admin page is always the same as what’s actually given by the plugin (especially for sub-fields). As I mentioned in the sticky-post on this forum (which I hope is still there) my advice in these situations is always “check the debug email”. It will tell you exactly what is available to map against (the “Post form” section).
That said, check-boxes are somewhat tricky – in CF7 at least unchecked boxes don’t provide a value; I don’t know off the top of my head how GF conditional fields behave, but the debug email will reveal all…The new message you’re seeing is the Ajax response from cf7 with a PHP warning or something in what should be json. There’s probably something “wrong” with your hook – open the browser dev tools (inspect or f12) and check out the “network” or “console” tab before you submit the form to see what it’s returning.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Insightly CF7 sending Custom FieldsHaha, autocorrect… *Insightly
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Insightly CF7 sending Custom FieldsIs that unsightly API example how it’s supposed to be submitted? If so, I think the only way to get the value nested next to the correct label will be to use the mask or replacement style in xpost, and write out the json.
I’ve actually used my plugin in local environments where email isn’t even configured, and it hasn’t affected the third-party post. I’d say check the debug email for more info about the service failure if there was one, but I’m guessing that might not be possible 😉
Would you be able to turn on wp_debug with logging to get more insight to what went wrong?
Glad you figured out a solution. What I find strange is that email failures would affect my plugin. It hooks to
wpcf7_before_send_mail(note the before_send_mail), specifically so it can attach results to the cf7 email, so the crm post should have been complete before your email relay could fail.I made a recent change so that you can “resubmit” via hooks (see my “post-again” plugin and https://github.com/zaus/forms-3rdparty-integration/blob/master/forms-3rdparty-integration.php#L484), which you might be able to use with a cf7db hook to make it a little less manual if it fails again.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Is there any limit on submission fields?Yes, because the entire plugin configuration is serialized to one wp option fields there is effectively a length limit. There are other posts about this somewhere on the forum, so you’re not alone with crazy submission requirements.
Because is saving everything to a text field, anything you can shorten will help a little.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Form being submitted multiple timesI can’t reproduce the issue, but I’m wondering if it’s specific to how pardot handles redirecting successful submissions, and maybe wp changed how it responds.
You could test the multi-submit by making a php file that emails you on every visit and make it the service endpoint.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Gravity Forms Checkboxes to LassoWhat’s your debug email reporting?
I’m guessing the checkboxes aren’t showing up? If so you might try using radio buttons instead.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Gravity Form to Google SheetHaven’t used Google scripts before, but maybe http://stackoverflow.com/questions/22617138/google-apps-script-function-not-found-doget is your problem?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] SMS API Integration with contact form 7What sms api?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] API REquestThe Xpost plugin turns the form submission into xml. You put the envelope format into the container field and map the body fields accordingly. There are a bunch of different ways to do it, from plain nesting to formatted replacement.
There are a bunch of forum and issue posts about submitting soap calls. If you are looking for specific output and need help pleases post more details.