<?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: Invoice Number Appended to Product Field Label - PayPal</title>
		<link>https://legacy.forums.gravityhelp.com/topic/invoice-number-appended-to-product-field-label-paypal</link>
		<description>Gravity Support Forums Topic: Invoice Number Appended to Product Field Label - PayPal</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:41:11 +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/invoice-number-appended-to-product-field-label-paypal" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Invoice Number Appended to Product Field Label - PayPal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/invoice-number-appended-to-product-field-label-paypal#post-79457</link>
			<pubDate>Sun, 07 Oct 2012 21:56:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">79457@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The hook is documented here for anyone curious:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_paypal_invoice&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_paypal_invoice&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>WebEndev on "Invoice Number Appended to Product Field Label - PayPal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/invoice-number-appended-to-product-field-label-paypal#post-79399</link>
			<pubDate>Sun, 07 Oct 2012 09:43:23 +0000</pubDate>
			<dc:creator>WebEndev</dc:creator>
			<guid isPermaLink="false">79399@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;btrilli,&#60;/p&#62;
&#60;p&#62;That's awesome, I will try it out.&#60;/p&#62;
&#60;p&#62;Thanks for the help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>btrilli on "Invoice Number Appended to Product Field Label - PayPal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/invoice-number-appended-to-product-field-label-paypal#post-79323</link>
			<pubDate>Sat, 06 Oct 2012 20:56:15 +0000</pubDate>
			<dc:creator>btrilli</dc:creator>
			<guid isPermaLink="false">79323@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is actually a way to send an invoice # to paypal. I used the following code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//Gravity Forms PayPal Invoice Edits
add_filter(&#38;quot;gform_paypal_invoice&#38;quot;, &#38;quot;change_invoice&#38;quot;, 10, 3);
function change_invoice($invoice_id, $form, $entry){
    return $entry[&#38;quot;10&#38;quot;];//field ID you want to be the invoice number
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>WebEndev on "Invoice Number Appended to Product Field Label - PayPal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/invoice-number-appended-to-product-field-label-paypal#post-63066</link>
			<pubDate>Wed, 20 Jun 2012 11:21:22 +0000</pubDate>
			<dc:creator>WebEndev</dc:creator>
			<guid isPermaLink="false">63066@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form (form ID 4) where I used a &#34;User Defined Price&#34; Product field (field ID 4), to collect the amount that the user is going to pay. I also have a Single Line Text field (field ID 10) that the user inputs their invoice number (invoice was mailed out to them).&#60;/p&#62;
&#60;p&#62;Since PayPal has nothing available to send over a reference or invoice number, I want to append 'Inv #' and the input from field 10, to the label of field 4, and send that to PayPal.&#60;/p&#62;
&#60;p&#62;I did some research, and know what I need to use gform_pre_submission_filter, but I don't know where to start to make this work. (I saw this &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/paypal-for-invoices-user-defined-price&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/paypal-for-invoices-user-defined-price&#60;/a&#62;, but it is not what I need because it always updates 'invoice 123', and I can't make it work).&#60;/p&#62;
&#60;p&#62;How is this done (hi David Smith lol)?&#60;br /&#62;
Help is greatly appreciated!!&#60;br /&#62;
Thanks!!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
