<?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: Retrieve paid entries</title>
		<link>https://legacy.forums.gravityhelp.com/topic/retrieve-paid-entries</link>
		<description>Gravity Support Forums Topic: Retrieve paid entries</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:28:50 +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/retrieve-paid-entries" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Retrieve paid entries"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieve-paid-entries#post-143448</link>
			<pubDate>Wed, 06 Feb 2013 13:03:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">143448@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;RGFormsModel::get_leads(); will return an array of leads and in that array is the payment status.   Here is an example of one lead or all the leads returned for one for with get_leads():&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[3] =&#38;gt; Array
	(
		[id] =&#38;gt; 1478
		[form_id] =&#38;gt; 89
		[date_created] =&#38;gt; 2013-01-05 15:34:53
		[is_starred] =&#38;gt; 0
		[is_read] =&#38;gt; 1
		[ip] =&#38;gt; 67.111.123.108
		[source_url] =&#38;gt; &#60;a href=&#34;http://example.com/category/outings/&#34; rel=&#34;nofollow&#34;&#62;http://example.com/category/outings/&#60;/a&#62;
		[post_id] =&#38;gt;
		[currency] =&#38;gt; USD
		[payment_status] =&#38;gt;
		[payment_date] =&#38;gt;
		[transaction_id] =&#38;gt;
		[payment_amount] =&#38;gt;
		[is_fulfilled] =&#38;gt;
		[created_by] =&#38;gt;
		[transaction_type] =&#38;gt;
		[user_agent] =&#38;gt; Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; BOIE9;ENUS)
		[status] =&#38;gt; active
		[1.3] =&#38;gt; Will
		[1.6] =&#38;gt; Brimley
		[4] =&#38;gt; none
		[11] =&#38;gt; none
		[21] =&#38;gt; 708-555-1212
		[23] =&#38;gt; 312-555-1212
		[15.1] =&#38;gt; I agree
		[8.3] =&#38;gt; Sandy
		[8.6] =&#38;gt; Bottoms
		[24] =&#38;gt; &#60;a href=&#34;mailto:sandyb@sbcglobal.net&#34;&#62;sandyb@sbcglobal.net&#60;/a&#62;
		[3] =&#38;gt;
		[22] =&#38;gt;
		[10] =&#38;gt;
	)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In the function you are using to display the leads, test for the existence of $lead['payment_status'] = 'Approved' before echoing the lead.  If you show us how you are displaying the leads currently, we can help you with the conditional test of the payment before you display the lead.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marc Koetsier on "Retrieve paid entries"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieve-paid-entries#post-143315</link>
			<pubDate>Wed, 06 Feb 2013 09:37:14 +0000</pubDate>
			<dc:creator>Marc Koetsier</dc:creator>
			<guid isPermaLink="false">143315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to get all the leads for which the payment status is approved?&#60;/p&#62;
&#60;p&#62;I am currently using the following function to retrive all leads to display them on the front end.&#60;/p&#62;
&#60;p&#62;RGFormsModel::get_leads();&#60;/p&#62;
&#60;p&#62;But that does not support filtering results by payment status.&#60;/p&#62;
&#60;p&#62;Any help?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
