Only First Line of Text From Buy Now Form Being Sent in Email

mcwebsitedesign
Contributor
Contributor

Hi,

 

I am having trouble with a form I am using on a website. The form is for classified ads. Payment and the ad is submitted on a single form and the ad comes through in the description for the payment in an email. This problem has occured before a few years ago and someone was nice enough to send me an example of code that worked (View Archived Thread) - everything had working great ever since. This problem has suddenly started again, no editing has been done to the form on the website since it was fixed 3 years ago.

 

Here is the current code on the site that stopped working correctly:

<!-- Start of Buy Now Form -->
<!-- Note: target="paypal" was replaced with target="_self" -->
<!-- Note: shopping_url also added to code -->
<!-- These two changes allow better functionality with IE and Firefox --> 
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cpp_header_image" value="http://MYWEBSITE.COM/images/yellow_100w.gif">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="MYEMAIL">
<!--  -->
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Classified Ad 2">
<input type="hidden" name="return" value="http://MYWEBSITE.COM/classified_ad_thankyou.htm">
<input type="hidden" name="cancel_return" value="http://MYWEBSITE.COM/classifieds/error.htm">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
<!--  -->
<input type="hidden" name="on0" value="Options">
	<strong>
	<span style="color: #000080"><br>Select the Number of Lines and Amount of Time to Run Ad<br></span></strong>
<select name="os0">
<option value="3 Lines of Text Run For 1 Week">3 Lines of Text Run For 1 Week $13.00 USD</option>
<option value="3 Lines of Text Run For 2 Weeks">3 Lines of Text Run For 2 Weeks $16.00 USD</option>
<option value="3 Lines of Text Run For 3 Weeks">3 Lines of Text Run For 3 Weeks $19.00 USD</option>
<option value="4 Lines of Text Run For 1 Week">4 Lines of Text Run For 1 Week $15.00 USD</option>
<option value="4 Lines of Text Run For 2 Weeks">4 Lines of Text Run For 2 Weeks $18.00 USD</option>
<option value="4 Lines of Text Run For 3 Weeks">4 Lines of Text Run For 3 Weeks $21.00 USD</option>
<option value="5 Lines of Text Run For 1 Week">5 Lines of Text Run For 1 Week $17.00 USD</option>
<option value="5 Lines of Text Run For 2 Weeks">5 Lines of Text Run For 2 Weeks $19.00 USD</option>
<option value="5 Lines of Text Run For 3 Weeks">5 Lines of Text Run For 3 Weeks $23.00 USD</option>
</select>
<!--  -->
<br><br>
	<strong>
<!-- option_index value=0 is associated with variable on0 -->
<input type="hidden" name="option_index" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="option_select0" value="3 Lines of Text Run For 1 Week">
<input type="hidden" name="option_amount0" value="13.00">
<input type="hidden" name="option_select1" value="3 Lines of Text Run For 2 Weeks">
<input type="hidden" name="option_amount1" value="16.00">
<input type="hidden" name="option_select2" value="3 Lines of Text Run For 3 Weeks">
<input type="hidden" name="option_amount2" value="19.00">
<input type="hidden" name="option_select3" value="4 Lines of Text Run For 1 Week">
<input type="hidden" name="option_amount3" value="15.00">
<input type="hidden" name="option_select4" value="4 Lines of Text Run For 2 Weeks">
<input type="hidden" name="option_amount4" value="18.00">
<input type="hidden" name="option_select5" value="4 Lines of Text Run For 3 Weeks">
<input type="hidden" name="option_amount5" value="21.00">
<input type="hidden" name="option_select6" value="5 Lines of Text Run For 1 Week">
<input type="hidden" name="option_amount6" value="17.00">
<input type="hidden" name="option_select7" value="5 Lines of Text Run For 2 Weeks">
<input type="hidden" name="option_amount7" value="19.00">
<input type="hidden" name="option_select8" value="5 Lines of Text Run For 3 Weeks">
<input type="hidden" name="option_amount8" value="23.00">
<!--  -->
<input type="hidden" name="on1" value="Line 1">Line 1
</strong>
<input type="text" name="os1" maxlength="60" size="70">
<!--  -->
<br><br>
	<strong>
<input type="hidden" name="on2" value="Line 2">Line 2
</strong>
<input type="text" name="os2" maxlength="60" size="70">
<!--  -->
<br><br>
	<strong>
<input type="hidden" name="on3" value="Line 3">Line 3
</strong>
<input type="text" name="os3" maxlength="60" size="70">
<!--  -->
<br><br>
	<strong>
<input type="hidden" name="on4" value="Line 4">Line 4
</strong>
<input type="text" name="os4" maxlength="60" size="70">
<!--  -->
<br><br>
	<strong>
<input type="hidden" name="on5" value="Line 5">Line 5
</strong>
<input type="text" name="os5" maxlength="60" size="70">
<!--  -->
	<br>
	<span style="color: #800000">* Make sure you included your contact 
	information in the ad.<br></span><br>
<!--  -->
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Buy Now Form -->

 

 

Any help or ideas would be greatly appreciated!

 

Thank you!!

Login to Me Too
1 REPLY 1

mcwebsitedesign
Contributor
Contributor

I contacted PayPal several days ago, they said they would send to tier 2 support and get back with me about this but no one ever called.  😞

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.