<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Trouble with POST data using gform_after_submission</title>
		<link>https://legacy.forums.gravityhelp.com/topic/trouble-with-post-data-using-gform_after_submission</link>
		<description>Gravity Support Forums Topic: Trouble with POST data using gform_after_submission</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:04:45 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/trouble-with-post-data-using-gform_after_submission" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Trouble with POST data using gform_after_submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-with-post-data-using-gform_after_submission#post-318959</link>
			<pubDate>Wed, 12 Jun 2013 14:06:18 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">318959@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you were able to figure it out. I took a quick look and didn't see anything wrong with what you posted, and was waiting to hear back if I was missing something. All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dfeeley on "Trouble with POST data using gform_after_submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-with-post-data-using-gform_after_submission#post-318932</link>
			<pubDate>Wed, 12 Jun 2013 13:50:54 +0000</pubDate>
			<dc:creator>dfeeley</dc:creator>
			<guid isPermaLink="false">318932@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK.  Call off the dogs.  I don't know what I did to fix it, but I quadruple-checked everything and in my efforts of trying to see what was wrong, its now working.   Maybe testing at 1AM in the morning had something to do with it!  :)&#60;/p&#62;
&#60;p&#62;So as far as I know the above code is working.  I have even been able to toggle the submission now by adding another Gform field called &#34;sendTo3rdParty&#34; and I can use the same function but control which forms are sent to the 3rd party directly on the form.&#60;/p&#62;
&#60;p&#62;Thanks for being there!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dfeeley on "Trouble with POST data using gform_after_submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trouble-with-post-data-using-gform_after_submission#post-318838</link>
			<pubDate>Wed, 12 Jun 2013 12:56:34 +0000</pubDate>
			<dc:creator>dfeeley</dc:creator>
			<guid isPermaLink="false">318838@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greetings,&#60;/p&#62;
&#60;p&#62;I am attempting to use the gform_after_submission to post the results of a form to a 3rd party site.  I have followed the examples from &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62; and combined it with some outside support on the topic that I found here &#60;a href=&#34;http://www.0to5blog.com/creative/gravity-forms-submitting-forms-to-3rd-party-applications/&#34; rel=&#34;nofollow&#34;&#62;http://www.0to5blog.com/creative/gravity-forms-submitting-forms-to-3rd-party-applications/&#60;/a&#62;.   And of course I am having trouble.&#60;/p&#62;
&#60;p&#62;I have been able to verify that I can post to the 3rd party site and submit the data to their forms using a command-line &#34;http-ping&#34; tool passing the same parameters as the gform_after_submission should be passing.   So the 3rd party site appears to be ready.&#60;/p&#62;
&#60;p&#62;I used this same function to have the system email me the form IDs so that I would have them accurately.  Here were my results of the Form IDs&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Array
(
[1] =&#38;gt; dan
    [2] =&#38;gt; feeley
    [3] =&#38;gt; dan(at)extremefitnessmartialarts.com
    [4] =&#38;gt; (203)555-1212
    [5] =&#38;gt; Mon
    [6] =&#38;gt; 10AM
    [8] =&#38;gt; 1403
    [9] =&#38;gt; redirectpagehere
    [10] =&#38;gt; 0
    [7] =&#38;gt;
)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I then created these functions and added them to my functions.php file as suggested in the working examples of &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here are my functions:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_after_submission_23&#38;#39;, &#38;#39;post_to_third_party&#38;#39;, 10, 2);
function post_to_third_party($entry, $form) {

    $post_url = &#38;#39;https://addmembers.com/RainMaker/process/&#38;#39;;
    $body = array(
 &#38;quot;SID&#38;quot; =&#38;gt;       $entry[&#38;quot;8&#38;quot;],
 &#38;quot;EMail&#38;quot; =&#38;gt;     $entry[&#38;quot;3&#38;quot;],
 &#38;quot;ReturnURL&#38;quot; =&#38;gt;  $entry[&#38;quot;9&#38;quot;],
 &#38;quot;formID&#38;quot; =&#38;gt;    $entry[&#38;quot;10&#38;quot;],
 &#38;quot;FName&#38;quot; =&#38;gt;     $entry[&#38;quot;1&#38;quot;],
 &#38;quot;LName&#38;quot; =&#38;gt;     $entry[&#38;quot;2&#38;quot;],
 &#38;quot;Phone&#38;quot; =&#38;gt;     $entry[&#38;quot;4&#38;quot;]
        );

    $request = new WP_Http();
    $response = $request-&#38;gt;post($post_url, array(&#38;#39;body&#38;#39; =&#38;gt; $body));

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I limited it to happen on Gform 23, and also without the specific form ID number.  Either way I do not get a post to the 3rd party system.   So I am stumped.   I am not a developer by any means, but I can certainly follow good instructions which these examples have.   Can you spot anything obvious with this?&#60;/p&#62;
&#60;p&#62;Is there a way to have Gforms go into a debug mode, or log what its doing to better troubleshoot?   &#60;/p&#62;
&#60;p&#62;Any assistance here is greatly appreciated!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
