<?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: Adding taxes to &#039;total&#039;</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total</link>
		<description>Gravity Support Forums Topic: Adding taxes to &#039;total&#039;</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Apr 2026 06:43:25 +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/adding-taxes-to-total" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34627</link>
			<pubDate>Tue, 06 Sep 2011 17:11:22 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">34627@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad we could help. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryanmurray on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34626</link>
			<pubDate>Tue, 06 Sep 2011 17:08:08 +0000</pubDate>
			<dc:creator>ryanmurray</dc:creator>
			<guid isPermaLink="false">34626@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It worked fine. Thanks very much for your help and the speedy responses. Much appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34615</link>
			<pubDate>Tue, 06 Sep 2011 16:21:56 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">34615@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Ryan,&#60;/p&#62;
&#60;p&#62;Are you using a subscription type payment feed? If so, currently with the PayPal Add-on for subscription feeds, you can only select a single product for the subscription total. I've sent an updated version of the PayPal Add-on to your member email which will allow you to select a &#34;Form Total&#34; option. This will include any custom products (aka your tax product) added via the gform_product_info hook.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryanmurray on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34608</link>
			<pubDate>Tue, 06 Sep 2011 15:43:52 +0000</pubDate>
			<dc:creator>ryanmurray</dc:creator>
			<guid isPermaLink="false">34608@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Once the functions had been put in the functions.php file in my theme I noticed the total had the percentage added and when I submitted the form without implementing PayPal it emailed me the correct total. I assumed the form would send the correct total through to PayPal when I'd set that up but it didn't.&#60;/p&#62;
&#60;p&#62;I've used products with options in my form. The form can be viewed here &#60;a href=&#34;http://www.iiirg.org/members/payment/&#34; rel=&#34;nofollow&#34;&#62;http://www.iiirg.org/members/payment/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Your help is much appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34579</link>
			<pubDate>Tue, 06 Sep 2011 13:37:27 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34579@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I didn't really look at the code to see if it would work, just to see that it was without syntax errors.&#60;/p&#62;
&#60;p&#62;When you mentioned previously that you had gotten it to work, you had not actually sent the transaction to the PayPal sandbox?  It just &#34;worked&#34; on your form?  Or it does not work now after modification?&#60;/p&#62;
&#60;p&#62;Do you use just products or products and options in your form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryanmurray on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34576</link>
			<pubDate>Tue, 06 Sep 2011 13:26:16 +0000</pubDate>
			<dc:creator>ryanmurray</dc:creator>
			<guid isPermaLink="false">34576@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your reply. I'll be sure to use this on my other form. However, I've just tested my first form using a sandboxed PayPal and while the 3.9% was added on the total it was not carried across to PayPal. It displays correctly in the notification email. Can you spot anything?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34553</link>
			<pubDate>Tue, 06 Sep 2011 10:16:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34553@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;On line 2 and line 16 you have form 6 specified in your filter name.  You can duplicate these code blocks and change the 6 to your additional form ID, to apply to another form.  But if the code is exactly the same, you probably want to change the filter names to these:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_action(&#38;#39;gform_pre_render&#38;#39;, &#38;#39;add_surcharge_js&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_filter(&#38;quot;gform_product_info&#38;quot;, &#38;quot;add_surcharge&#38;quot;, 10, 3);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then in the code below, add a condition to check for multiple form ids.  Something like this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/5vPsHQXW&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/5vPsHQXW&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I used an array for form IDs with 6 and 9.  Change the 9 to your second form ID on both line 6 and line 28.  You can add more form IDs in the array as well if you need to apply this code to more forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryanmurray on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34539</link>
			<pubDate>Tue, 06 Sep 2011 07:16:21 +0000</pubDate>
			<dc:creator>ryanmurray</dc:creator>
			<guid isPermaLink="false">34539@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here it is &#60;a href=&#34;http://www.pastie.org/2490917&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2490917&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34523</link>
			<pubDate>Tue, 06 Sep 2011 00:51:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34523@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post your code to pastebin.com or pastie.org? Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryanmurray on "Adding taxes to &#039;total&#039;"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-taxes-to-total#post-34469</link>
			<pubDate>Mon, 05 Sep 2011 11:46:15 +0000</pubDate>
			<dc:creator>ryanmurray</dc:creator>
			<guid isPermaLink="false">34469@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I got this work nicely on one form but what if you have more than one form you'd like this work on? It doesn't work if you add another form into 'add_action' or 'add_filter'.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
