<?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: Table field data explanation for the paypal add-on</title>
		<link>https://legacy.forums.gravityhelp.com/topic/table-field-data-explanation-for-the-paypal-add-on</link>
		<description>Gravity Support Forums Topic: Table field data explanation for the paypal add-on</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:20:08 +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/table-field-data-explanation-for-the-paypal-add-on" rel="self" type="application/rss+xml" />

		<item>
			<title>antonv on "Table field data explanation for the paypal add-on"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/table-field-data-explanation-for-the-paypal-add-on#post-48279</link>
			<pubDate>Fri, 03 Feb 2012 13:35:45 +0000</pubDate>
			<dc:creator>antonv</dc:creator>
			<guid isPermaLink="false">48279@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Table field data explanation for the paypal add-on"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/table-field-data-explanation-for-the-paypal-add-on#post-48185</link>
			<pubDate>Thu, 02 Feb 2012 15:47:36 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">48185@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Anton,&#60;br /&#62;
Below are the answers to your questions:&#60;/p&#62;
&#60;p&#62;I am assuming that the is_active from wp_rg_paypal would have a value of 0 if the subscription is inactive and a value of 1 or any other number when the subscription is active.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Yes, that is correct.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;From the wp_rg_paypal_transaction, would you be able to give me a short description of the data entered in the following fields:&#60;br /&#62;
transaction_type&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;The type of transaction that was performed. Possible values are:&#60;br /&#62;
payment -&#38;gt; a payment was made&#60;br /&#62;
reversal -&#38;gt; a reversal of a payment was made&#60;br /&#62;
reinstated -&#38;gt; a payment that was previously reversed has been reinstated&#60;br /&#62;
denied -&#38;gt; a payment was denied&#60;br /&#62;
pending -&#38;gt; a payment is in the process of being verified by PayPal&#60;br /&#62;
refund -&#38;gt; a refund has been issued on a payment&#60;br /&#62;
void -&#38;gt; a payment has been voided&#60;br /&#62;
processed -&#38;gt; a payment has been accepted.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;subscription_id&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
If this is a recurring payment, the subscription ID will be added here
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;transaction_id&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
PayPal unique transaction ID
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;parent_transaction_id&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
If this transaction is related to another previously processed transaction, this field will contain the transaction ID of the original transaction. For example, the parent transaction of a refund transaction is the original payment transaction
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;is_renewal&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Has a value of 1 if this is a renewal payment. 0 if this is a one time payment of if this is the first payment of a subscription.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;amount&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Transaction amount
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;date_created&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
The date that this transaction was created
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Now, the date_created I am assuming that would be the date when the subscription was started. If that is the case, where would I find the renewal date? I need that as during each subscription period, the users would be allowed to create a limited amount of posts.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
The renewal dates will be in transactions with the same subscription_id and the is_renewal column with a value of 1
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;And the last question is regarding the user. How can I get the subscription data for the logged in user? I haven't seen any kind of connection to the users table...&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
The best way to do this is to use the User Registration Add-On and configure it to create the user when payment is made. Then, you will be able to get the entry ID via the &#34;entry_id&#34; user meta. With the entry_id, you will be able to get all transactions associated with it, via the entry_id column.
&#60;/p&#62;&#60;/blockquote&#62;</description>
		</item>
		<item>
			<title>antonv on "Table field data explanation for the paypal add-on"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/table-field-data-explanation-for-the-paypal-add-on#post-47185</link>
			<pubDate>Tue, 24 Jan 2012 01:53:26 +0000</pubDate>
			<dc:creator>antonv</dc:creator>
			<guid isPermaLink="false">47185@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>antonv on "Table field data explanation for the paypal add-on"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/table-field-data-explanation-for-the-paypal-add-on#post-47067</link>
			<pubDate>Sat, 21 Jan 2012 21:10:10 +0000</pubDate>
			<dc:creator>antonv</dc:creator>
			<guid isPermaLink="false">47067@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi guys,&#60;/p&#62;
&#60;p&#62;I'm starting the planning phase of a custom membership implementation and I would like to use the data collected by GF when a new subscription is created. I've looked at the tables and I see that the 2 tables I need to work with are: &#60;em&#62;wp_rg_paypal&#60;/em&#62; and &#60;em&#62;wp_rg_paypal_transaction&#60;/em&#62;.&#60;/p&#62;
&#60;p&#62;I am assuming that the &#60;em&#62;is_active&#60;/em&#62; from &#60;em&#62;wp_rg_paypal&#60;/em&#62; would have a value of 0 if the subscription is inactive and a value of 1 or any other number when the subscription is active. &#60;/p&#62;
&#60;p&#62;From the &#60;em&#62;wp_rg_paypal_transaction&#60;/em&#62;, would you be able to give me a short description of the data entered in the following fields:&#60;/p&#62;
&#60;p&#62;&#60;em&#62;transaction_type&#60;br /&#62;
subscription_id&#60;br /&#62;
transaction_id&#60;br /&#62;
parent_transaction_id&#60;br /&#62;
is_renewal&#60;br /&#62;
amount&#60;br /&#62;
date_created&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Now, the date_created I am assuming that would be the date when the subscription was started. If that is the case, where would I find the renewal date? I need that as during each subscription period, the users would be allowed to create a limited amount of posts.&#60;/p&#62;
&#60;p&#62;And the last question is regarding the user. How can I get the subscription data for the logged in user? I haven't seen any kind of connection to the users table...&#60;/p&#62;
&#60;p&#62;Thank you,&#60;br /&#62;
Anton
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
