<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: More descriptive Paypal description</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: More descriptive Paypal description</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 21:00:59 +0000</pubDate>

<item>
<title>jhinkle on "More descriptive Paypal description"</title>
<link>https://www.machform.com/forums/topic/more-descriptive-paypal-description#post-21091</link>
<pubDate>Wed, 21 May 2014 22:56:57 +0000</pubDate>
<dc:creator>jhinkle</dc:creator>
<guid isPermaLink="false">21091@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That worked out perfectly! Thanks a bunch yuniar!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "More descriptive Paypal description"</title>
<link>https://www.machform.com/forums/topic/more-descriptive-paypal-description#post-21065</link>
<pubDate>Sun, 18 May 2014 08:10:38 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">21065@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can add the query to get the form name above that block of code. Something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select form_name from &#38;quot;.MF_TABLE_PREFIX.&#38;quot;forms where form_id = ?&#38;quot;;
$params = array($form_id);

$sth = mf_do_query($query,$params,$dbh);
$row = mf_do_fetch_result($sth);
$form_name = $row[&#38;#39;form_name&#38;#39;];

$item_name .= &#38;quot; - &#38;quot;.$form_name; $paypal_params[&#38;#39;item_name_&#38;#39;.$i] = $item_name; $paypal_params[&#38;#39;amount_&#38;#39;.$i] = $amount; $paypal_params[&#38;#39;quantity_&#38;#39;.$i] = $quantity;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>jhinkle on "More descriptive Paypal description"</title>
<link>https://www.machform.com/forums/topic/more-descriptive-paypal-description#post-21041</link>
<pubDate>Thu, 15 May 2014 21:11:33 +0000</pubDate>
<dc:creator>jhinkle</dc:creator>
<guid isPermaLink="false">21041@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is there a way to always add the form title to the item name? like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$item_name .= &#38;quot; - &#38;quot;.$form_name;
$paypal_params[&#38;#39;item_name_&#38;#39;.$i] = $item_name;
$paypal_params[&#38;#39;amount_&#38;#39;.$i] 	  = $amount;
$paypal_params[&#38;#39;quantity_&#38;#39;.$i]  = $quantity;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>jhinkle on "More descriptive Paypal description"</title>
<link>https://www.machform.com/forums/topic/more-descriptive-paypal-description#post-21003</link>
<pubDate>Fri, 09 May 2014 22:32:47 +0000</pubDate>
<dc:creator>jhinkle</dc:creator>
<guid isPermaLink="false">21003@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Perfect, I'll try this out.&#60;/p&#62;
&#60;p&#62;Thanks for the quick response!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "More descriptive Paypal description"</title>
<link>https://www.machform.com/forums/topic/more-descriptive-paypal-description#post-20990</link>
<pubDate>Fri, 09 May 2014 08:50:34 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">20990@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can edit the &#34;includes/post-functions.php&#34; file. Search around line 3851 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$paypal_params[&#38;#39;item_name_&#38;#39;.$i] = $item_name;
$paypal_params[&#38;#39;amount_&#38;#39;.$i] 	  = $amount;
$paypal_params[&#38;#39;quantity_&#38;#39;.$i]  = $quantity;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Basically you only need to adjust the $item_name above.&#60;/p&#62;
&#60;p&#62;Something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 23){
  $item_name .= &#38;quot;My Form Title&#38;quot;;
}
$paypal_params[&#38;#39;item_name_&#38;#39;.$i] = $item_name;
$paypal_params[&#38;#39;amount_&#38;#39;.$i] 	  = $amount;
$paypal_params[&#38;#39;quantity_&#38;#39;.$i]  = $quantity;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That would add &#34;My Form Title&#34; at the end of the item name.
&#60;/p&#62;</description>
</item>
<item>
<title>jhinkle on "More descriptive Paypal description"</title>
<link>https://www.machform.com/forums/topic/more-descriptive-paypal-description#post-20970</link>
<pubDate>Wed, 07 May 2014 23:54:43 +0000</pubDate>
<dc:creator>jhinkle</dc:creator>
<guid isPermaLink="false">20970@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We have a few different conferences going right now and the Paypal transactions are intermingled. Our financial person wanted a list of all the transactions to balance the checkbook, but the descriptions were pretty vague. Is there any way you can attach the form name to the Paypal transaction details?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
