<?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: Use Paypal with only a submit button? [no e-mail capture]</title>
		<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture</link>
		<description>Gravity Support Forums Topic: Use Paypal with only a submit button? [no e-mail capture]</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 10:52:57 +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/use-paypal-with-only-a-submit-button-no-e-mail-capture" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Use Paypal with only a submit button? [no e-mail capture]"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture#post-182027</link>
			<pubDate>Sat, 23 Mar 2013 14:13:27 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">182027@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I believe you can capture the payer's email address using the gform_paypal_post_ipn filter: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_paypal_post_ipn&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_paypal_post_ipn&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_filter(&#38;quot;gform_paypal_post_ipn&#38;quot;, &#38;quot;capture_email&#38;quot;, 10, 4);
function capture_email($ipn_post, $entry, $config, $cancel){

	// if the IPN was canceled, don&#38;#39;t process
	if($cancel)
		return;

	$email_address = $ipn_post[&#38;quot;payer_email&#38;quot;];

	$wpdb-&#38;gt;insert(&#38;quot;{$wpdb-&#38;gt;prefix}rg_lead_detail&#38;quot;, array(
		&#38;#39;value&#38;#39; =&#38;gt; $email_address,
		// update field number to the ID of
		// your hidden email address field
		&#38;#39;field_number&#38;#39; =&#38;gt; $field_number,
		&#38;#39;lead_id&#38;#39; =&#38;gt; $entry[&#38;#39;id&#38;#39;],
		&#38;#39;form_id&#38;#39; =&#38;gt; $entry[&#38;#39;form_id&#38;#39;]
	));

    return;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You'll need a field in your form to hold the email after the fact.  You can make it admin only or hidden, and then update the $field_number on line 14.  You'll have to go direct to the database since the entry was already created when the IPN is received.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robgranholm on "Use Paypal with only a submit button? [no e-mail capture]"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture#post-176791</link>
			<pubDate>Tue, 19 Mar 2013 10:16:26 +0000</pubDate>
			<dc:creator>robgranholm</dc:creator>
			<guid isPermaLink="false">176791@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep, that was the hope, although I'm guessing it's not possible?&#60;/p&#62;
&#60;p&#62;I thought the API and communication between Gravity Forms and PayPal would allow Gravity Forms to pull back the e-mail after it was entered at PayPal to be used.&#60;/p&#62;
&#60;p&#62;Perhaps using the PayPal Pro plugin offered a different flow, but then my client would need to upgrade to PayPal Pro to test&#60;/p&#62;
&#60;p&#62;-r
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Use Paypal with only a submit button? [no e-mail capture]"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture#post-176080</link>
			<pubDate>Mon, 18 Mar 2013 22:24:12 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">176080@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So the visitor will enter their email address at PayPal, and you hope to capture that email address when the visitor returns to your site?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robgranholm on "Use Paypal with only a submit button? [no e-mail capture]"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture#post-176047</link>
			<pubDate>Mon, 18 Mar 2013 22:12:11 +0000</pubDate>
			<dc:creator>robgranholm</dc:creator>
			<guid isPermaLink="false">176047@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Within the payment gateway, at PayPal
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Use Paypal with only a submit button? [no e-mail capture]"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture#post-176037</link>
			<pubDate>Mon, 18 Mar 2013 22:09:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">176037@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't know of any way to do this.  If they are not entering the email on your site, where are they entering it, and how will you be notified of that address?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robgranholm on "Use Paypal with only a submit button? [no e-mail capture]"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-paypal-with-only-a-submit-button-no-e-mail-capture#post-175377</link>
			<pubDate>Mon, 18 Mar 2013 10:34:29 +0000</pubDate>
			<dc:creator>robgranholm</dc:creator>
			<guid isPermaLink="false">175377@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I can't seem to configure this myself so I'm hitting the forums for support.&#60;/p&#62;
&#60;p&#62;I'd like to use Gravity Forms to enable a payment option, and sign up for Mailchimp, but pull the e-mail address after payment at PayPal, not before.&#60;/p&#62;
&#60;p&#62;I'm trying to avoid having the user enter their e-mail, and then hit submit [buy now] to go to PayPal, but instead hit the submit button [buy now] pays, and the e-mail is captured there and added for the notifications and Mailchimp integration...is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
