<?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: Delete entry based on payment status</title>
		<link>https://legacy.forums.gravityhelp.com/topic/delete-entry-based-on-payment-status</link>
		<description>Gravity Support Forums Topic: Delete entry based on payment status</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 07:43:42 +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/delete-entry-based-on-payment-status" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Delete entry based on payment status"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/delete-entry-based-on-payment-status#post-78214</link>
			<pubDate>Sun, 30 Sep 2012 21:11:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78214@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Closing this topic and continuing the discussion &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/check-payment-status-pay-later&#34; rel=&#34;nofollow&#34;&#62;here&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iamdangavin on "Delete entry based on payment status"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/delete-entry-based-on-payment-status#post-78181</link>
			<pubDate>Sun, 30 Sep 2012 16:06:37 +0000</pubDate>
			<dc:creator>iamdangavin</dc:creator>
			<guid isPermaLink="false">78181@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to delete an entry if a payment status is set to pending?&#60;/p&#62;
&#60;p&#62;Something like this would be great:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function retrieve_guests_payment($entry) {
	 $entries =  RGFormsModel::get_leads(1, &#38;#39;&#38;#39;, &#38;#39;DESC&#38;#39;, &#38;#39;&#38;#39;, &#38;#39;0&#38;#39;, &#38;#39;99999999&#38;#39;);
	 foreach ($entries as $entry){
	 	if($entry[&#38;#39;payment_status&#38;#39;] == &#38;#39;Pending&#38;#39;){
	 		// delete entry
	 	}
	 }

}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
