<?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: Failed transactions passed to hook?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/failed-transactions-passed-to-hook</link>
		<description>Gravity Support Forums Topic: Failed transactions passed to hook?</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 19:19:11 +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/failed-transactions-passed-to-hook" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Failed transactions passed to hook?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/failed-transactions-passed-to-hook#post-47022</link>
			<pubDate>Fri, 20 Jan 2012 18:18:36 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">47022@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Dochara,&#60;/p&#62;
&#60;p&#62;Failed payments are not filtered out from the gform_paypay_post_ipn. The way you are handling it is correct.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dochara on "Failed transactions passed to hook?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/failed-transactions-passed-to-hook#post-46113</link>
			<pubDate>Wed, 11 Jan 2012 08:26:01 +0000</pubDate>
			<dc:creator>dochara</dc:creator>
			<guid isPermaLink="false">46113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Quick question.&#60;/p&#62;
&#60;p&#62;I am writing a function that runs on gform_paypal_post_ipn and does different things based on the txn_type returned from PayPal. I need to do nothing at all with failed transactions. &#60;/p&#62;
&#60;p&#62;I am thinking that something like this to just stop my function on failed transactions would be no harm, but is it superfluous - are failed transactions already filtered out before the gform_paypal_post_ipn hook runs?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if( $ipn_post[&#38;#39;txn_type&#38;#39;]==&#38;#39;subscr_ failed&#38;#39;)
	 	 return;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
