<?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: Automatically Log-In User After Registration And Payment</title>
		<link>https://legacy.forums.gravityhelp.com/topic/automatically-log-in-user-after-registration-and-payment</link>
		<description>Gravity Support Forums Topic: Automatically Log-In User After Registration And Payment</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:23:45 +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/automatically-log-in-user-after-registration-and-payment" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Automatically Log-In User After Registration And Payment"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/automatically-log-in-user-after-registration-and-payment#post-161823</link>
			<pubDate>Wed, 06 Mar 2013 07:16:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161823@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There are several solutions posted in these forums.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/tags/auto-login&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/tags/auto-login&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I use this in my theme's functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_action(&#38;quot;gform_user_registered&#38;quot;, &#38;quot;autologin&#38;quot;, 10, 4);
function autologin($user_id, $config, $entry, $password) {
        wp_set_auth_cookie($user_id, false, &#38;#39;&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>mudil on "Automatically Log-In User After Registration And Payment"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/automatically-log-in-user-after-registration-and-payment#post-161713</link>
			<pubDate>Wed, 06 Mar 2013 05:46:27 +0000</pubDate>
			<dc:creator>mudil</dc:creator>
			<guid isPermaLink="false">161713@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the reply. I decided to go ahead and use the Paypal Pro addon. Can you teach me how to do it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Automatically Log-In User After Registration And Payment"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/automatically-log-in-user-after-registration-and-payment#post-160934</link>
			<pubDate>Tue, 05 Mar 2013 09:39:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">160934@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;With the PayPal Standard add-on, there is currently no way to automatically log the user in after returning from PayPal because the password is not stored.&#60;/p&#62;
&#60;p&#62;With the PayPal Pro add-on, you could do this because the visitor never left your site.  Let us know when you switch to the PayPal Pro add-on and we can help you at that point.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mudil on "Automatically Log-In User After Registration And Payment"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/automatically-log-in-user-after-registration-and-payment#post-160839</link>
			<pubDate>Tue, 05 Mar 2013 07:46:23 +0000</pubDate>
			<dc:creator>mudil</dc:creator>
			<guid isPermaLink="false">160839@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I tried searching the forums but no one seemed to have this issue. I read that you can automatically log-in the user after registration so he doesn't need to manually log-in. I tried other member's solutions but nothing worked. &#60;/p&#62;
&#60;p&#62;I'm working on a registration form that requires the users to pay via the Paypal plugin. Once the payment has been made, it's only then the user will be registered. &#60;/p&#62;
&#60;p&#62;What I want to do, is to automatically log-in the user after payment. Is there a way that I can accomplish this? Is it also possible with the PayPal Pro add-in? Because I plan to switch to it in the future.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
