<?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: Writing a custom plugin for subscriptions</title>
		<link>https://legacy.forums.gravityhelp.com/topic/writing-a-custom-plugin-for-subscriptions</link>
		<description>Gravity Support Forums Topic: Writing a custom plugin for subscriptions</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 10:07:46 +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/writing-a-custom-plugin-for-subscriptions" rel="self" type="application/rss+xml" />

		<item>
			<title>lhornaday on "Writing a custom plugin for subscriptions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/writing-a-custom-plugin-for-subscriptions#post-45167</link>
			<pubDate>Thu, 29 Dec 2011 23:07:54 +0000</pubDate>
			<dc:creator>lhornaday</dc:creator>
			<guid isPermaLink="false">45167@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;I did test with the sandbox. I guess I am good until the update comes out. I was wondering how the user addon worked without having the ability to update users. Can't wait to see what you guys do with it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Writing a custom plugin for subscriptions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/writing-a-custom-plugin-for-subscriptions#post-45166</link>
			<pubDate>Thu, 29 Dec 2011 22:51:38 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">45166@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Not sure why this post wasn't replied to by someone on our team, but what you described does sound correct.  I would suggest setting up a PayPal Sandbox account and doing some tests using the Sandbox to refine your customization.&#60;/p&#62;
&#60;p&#62;The good news is we do plan on enhancing the User Registration Add-On to not only support creating new users, but also allow updating existing users.  This is one of many features we have planned for the User Registration Add-On and will make it easy to update a users account via a form that can also require making a payment before the change is made.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lhornaday on "Writing a custom plugin for subscriptions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/writing-a-custom-plugin-for-subscriptions#post-45163</link>
			<pubDate>Thu, 29 Dec 2011 22:34:40 +0000</pubDate>
			<dc:creator>lhornaday</dc:creator>
			<guid isPermaLink="false">45163@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have all of this working properly. I'll just have to watch and see if it works correctly for a while I guess.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lhornaday on "Writing a custom plugin for subscriptions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/writing-a-custom-plugin-for-subscriptions#post-44923</link>
			<pubDate>Sun, 25 Dec 2011 05:36:35 +0000</pubDate>
			<dc:creator>lhornaday</dc:creator>
			<guid isPermaLink="false">44923@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, my objective is to allow my registered WordPress users to subscribe (change roles). I am not wanting to use the registration addon because the members are already registered.&#60;/p&#62;
&#60;p&#62;My gravity form is simply setup to pass some hidden variables for later processing.&#60;/p&#62;
&#60;p&#62;When I get a new subscriber, these are the only hooks I need to be concerned with, correct?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;gform_paypal_fulfillment
gform_subscription_canceled&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I have a new plugin setup to change the user's status to paid and unpaid accordingly using those two hooks. As far as I know, gform_paypal_fulfillment is for completed payments. Therefore I can simply change the user's role with it. Is that the proper hook for doing so?&#60;/p&#62;
&#60;p&#62;Lastly, I don't think I need a notice for the repeated payments every month, I just need to catch the cancellation with gform_subscription_canceled. Does this also sound right?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
