<?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: Pass additional information to PayPal - Machform 3.x.</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Pass additional information to PayPal - Machform 3.x.</description>
<language>en</language>
<pubDate>Tue, 05 May 2026 07:53:24 +0000</pubDate>

<item>
<title>katherinewatson on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-16987</link>
<pubDate>Fri, 01 Feb 2013 02:18:35 +0000</pubDate>
<dc:creator>katherinewatson</dc:creator>
<guid isPermaLink="false">16987@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We also need to send additional code to PayPal. We have to collect sales tax when we sell products to residents of our state, but we are not required to collect sales tax for seminars, so we need to be able to send a code to PP to override the sales tax setting. Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>katherholt on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-16602</link>
<pubDate>Fri, 07 Dec 2012 22:17:42 +0000</pubDate>
<dc:creator>katherholt</dc:creator>
<guid isPermaLink="false">16602@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I too need help, I'm trying to put some simple information on the PayPal Description Summary:&#60;br /&#62;
Line 2390 in the includes/post-functions.php file (version 3.3). The fields are text fields.&#60;br /&#62;
=============================================================================&#60;/p&#62;
&#60;p&#62;// Start custom modification by BBD 07-DEC-2012  ----------------------------------------------&#60;br /&#62;
if ($form_id == 15595) {&#60;br /&#62;
  // Always include Name.&#60;br /&#62;
  $paypal_params['item_name_'.$i] = 'Your Name: ' . $_SESSION['form_data']['element_1_1'] . ' ' . $_SESSION['form_data']['element_1_2'];&#60;br /&#62;
  $paypal_params['amount_'.$i] = '0';&#60;br /&#62;
  $i++;&#60;br /&#62;
    // Include invoice number.&#60;br /&#62;
    $paypal_params['item_name_'.$i] = 'INVOICE Number: ' . $_SESSION['form_data']['element_8'];&#60;br /&#62;
    $paypal_params['amount_'.$i] = '0';&#60;br /&#62;
  $i++;&#60;br /&#62;
}&#60;br /&#62;
// End custom modification by BBD 07-DEC-2012 ----------------------------------------------&#60;/p&#62;
&#60;p&#62;$merchant_redirect_url = 'https://www.paypal.com/cgi-bin/webscr?'.http_build_query($paypal_params,'','&#38;#38;');		&#60;/p&#62;
&#60;p&#62;		//get payment processor URL, if applicable for this form&#60;/p&#62;
&#60;p&#62;=================================================================================&#60;br /&#62;
Does the code look proper to you? Can this be done?&#60;/p&#62;
&#60;p&#62;Here is the form &#60;a href=&#34;http://www.visitmetroatlanta.com/membership.html&#34; rel=&#34;nofollow&#34;&#62;http://www.visitmetroatlanta.com/membership.html&#60;/a&#62;&#60;br /&#62;
Thank you for any help you can provide.
&#60;/p&#62;</description>
</item>
<item>
<title>Steve1951 on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-16257</link>
<pubDate>Sat, 20 Oct 2012 09:37:58 +0000</pubDate>
<dc:creator>Steve1951</dc:creator>
<guid isPermaLink="false">16257@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Here is a sample of how I added a couple of items from one particular form to PayPal.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Start custom modification by xxx 20-Jul-2012 19:08 ----------------------------------------------
if ($form_id == 575 &#124;&#124; $form_id == 1284) {
  // Always include Rider name.
  $paypal_params[&#38;#39;item_name_&#38;#39;.$i] = &#38;#39;Rider Name: &#38;#39; . $_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_1_1&#38;#39;] . &#38;#39; &#38;#39; . $_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_1_2&#38;#39;];
  $paypal_params[&#38;#39;amount_&#38;#39;.$i] = &#38;#39;0&#38;#39;;
  $i++;
  if ($_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_10&#38;#39;] == 1) {
    // Include passenger name if passenger attending yes is selected.
    $paypal_params[&#38;#39;item_name_&#38;#39;.$i] = &#38;#39;Passenger Name: &#38;#39; . $_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_8_1&#38;#39;] . &#38;#39; &#38;#39; . $_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_8_2&#38;#39;];
    $paypal_params[&#38;#39;amount_&#38;#39;.$i] = &#38;#39;0&#38;#39;;
  }
}
// End custom modification by xxx 20-Jul-2012 19:08 ----------------------------------------------

$merchant_redirect_url = &#38;#39;https://www.paypal.com/cgi-bin/webscr?&#38;#39;.http_build_query($paypal_params,&#38;#39;&#38;#39;,&#38;#39;&#38;#38;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>hgmd2005 on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-16256</link>
<pubDate>Sat, 20 Oct 2012 03:22:25 +0000</pubDate>
<dc:creator>hgmd2005</dc:creator>
<guid isPermaLink="false">16256@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;How do I add a variable from a particular form into &#34;includes/post-functions.php&#34; file?&#60;br /&#62;
I need to send our invoice number so it will be on the receipt in PayPal.
&#60;/p&#62;</description>
</item>
<item>
<title>Vitus on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-15116</link>
<pubDate>Fri, 22 Jun 2012 22:07:12 +0000</pubDate>
<dc:creator>Vitus</dc:creator>
<guid isPermaLink="false">15116@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yuniar, I think it will be hard for high traffic sites to identify payer information.  Wonder if it is possible to add an ipn script to link Paypal Txn ID and the related transaction in the 3.3 release.
&#60;/p&#62;</description>
</item>
<item>
<title>seangritzman on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-15112</link>
<pubDate>Fri, 22 Jun 2012 04:15:42 +0000</pubDate>
<dc:creator>seangritzman</dc:creator>
<guid isPermaLink="false">15112@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;was there an answer on how to pass the name field data to paypal? our business runs into this same issue where we have one person paying but applying it to someone else. it would certainly help our bookkeeping if we could easily identify this in paypal.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-14977</link>
<pubDate>Wed, 06 Jun 2012 18:12:17 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14977@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, the format is [formid]_[entryid], so #53 is your form id number and 2 is the entry id number.
&#60;/p&#62;</description>
</item>
<item>
<title>frankzobitz on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-14969</link>
<pubDate>Tue, 05 Jun 2012 11:54:35 +0000</pubDate>
<dc:creator>frankzobitz</dc:creator>
<guid isPermaLink="false">14969@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;In PayPal, when I look at a transaction, there is an invoice ID field.  For example: 53_2  Does the 53 mean it is form #53 and the 2 mean it is the second entry in the database?  If so, that works for me!
&#60;/p&#62;</description>
</item>
<item>
<title>frankzobitz on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-14968</link>
<pubDate>Tue, 05 Jun 2012 11:45:21 +0000</pubDate>
<dc:creator>frankzobitz</dc:creator>
<guid isPermaLink="false">14968@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Would you be able to elaborate a little further?  I opened the post-functions.php file and found the function, but if I had a Name field on my form (text field), how do I pass that to PayPal?  Also, is it possible to get the PayPal transaction ID or Invoice ID populated back to the form database?  Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-14301</link>
<pubDate>Mon, 09 Apr 2012 22:17:36 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14301@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;There is a function within &#34;includes/post-functions.php&#34; file called &#34;mf_get_merchant_redirect_url&#34;.&#60;br /&#62;
You can simply modify this function to pass another parameter to PayPal.
&#60;/p&#62;</description>
</item>
<item>
<title>Steve1951 on "Pass additional information to PayPal - Machform 3.x."</title>
<link>https://www.machform.com/forums/topic/pass-additional-information-to-paypal-machform-3x#post-14250</link>
<pubDate>Thu, 05 Apr 2012 01:19:42 +0000</pubDate>
<dc:creator>Steve1951</dc:creator>
<guid isPermaLink="false">14250@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I would like to pass additional information to PayPal such as a person's name from the form.  Most of the time the name on the form is not the same as the name of the person making the payment.  My client's account needs to see the applicant's name on the PayPal payment verification.  I have an understanding how to do this as I am currently using Machform 2.x as the front end for PayPal payments.  I need to know which program (in version 3.x) formats and sends the data to PayPal so I will know which program I need to modify.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Steve
&#60;/p&#62;</description>
</item>

</channel>
</rss>
