Hi there,
So I’ve hit a small snag with the Zapier Plugin. I am adding four entries through:
GFAPI::add_entry($entry);
That works no problem. Those entries come out like normal. But then I attempt to post those entries to Zapier through:
add_action( 'gform_post_add_entry', 'gaws_send_to_zapier', 10, 2 );
function gaws_send_to_zapier( $entry, $form ) {
GFCommon::log_debug( 'gform_post_add_entry: entry => ' . print_r( $entry ) );
if (class_exists('GFZapier')) {
GFZapier::send_form_data_to_zapier( $entry, $form );
}
}
And that ALMOST works. What that keeps doing is it is sending the four entries I am submitting as just the first entry four times.
So does anyone one know why it is doing that and have an inkling to how to fix it?
Thanks!