Website html help with paypal... simple help

Discussion in 'HTML & Website Design' started by rapidadds, Dec 19, 2008.

  1. #1
    Hello,
    My site: http://rapidadds.com/mobaccounts/upgrade.html

    If you look at the text boxes to purchase something, their are 2 different boxes, but when someone buys something, in the paypal item number, all i get is the password, not the email, how do i make it so I get both whem somebody purchases something? Here is the code i use....
    Myspace Email:<input type="text" name="item_number" value="" size="10">
    <input type="hidden" name="type" value="ondeday" />
    Password:<input type="text" name="item_number" value="" size="10">
    <input type="hidden" name="type" value="ondeday" />&nbsp;<input type="image" src="http://i34.tinypic.com/2ihwnmf.jpg" name="onedaybutton" alt="Make payments with PayPal - it's fast, free and secure!">
    HTML:
    Or... If you need the whole code...
    <center>
    <b>1 bounty hit added to your account</FONT></b></td><td width=4></td><td>
    <a title='2.00' class=body_con =><font color="red">$</font></a> </b>
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="rm" value="2">
    <input type="hidden" name="business" value="hiatts@mchsi.com">
    <input type="hidden" name="item_name" value="1 bounty hit added to your account">
    
    <input type="hidden" name="no_shipping" value="1">
    <input type="hidden" name="custom" value="1">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="return" value="">
    <input type="hidden" name="cancel_return" value="">
    <input type="hidden" name="amount" value="2.00">
    <input type="hidden" name="notify_url" value="http://www.darkms.com/ipn.php" /></center>
    </b>
    Myspace Email:<input type="text" name="item_number" value="" size="10">
    <input type="hidden" name="type" value="ondeday" />
    Password:<input type="text" name="item_number" value="" size="10">
    <input type="hidden" name="type" value="ondeday" />&nbsp;<input type="image" src="http://i34.tinypic.com/2ihwnmf.jpg" name="onedaybutton" alt="Make payments with PayPal - it's fast, free and secure!">
    </form>
    HTML:
    (all i did was go to my friends site, and take the source code from his site, with his permission)
     
    rapidadds, Dec 19, 2008 IP
  2. MoWarez

    MoWarez Member

    Messages:
    39
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Try this My version


    <center><b>1 bounty hit added to your account</FONT></b></td><td width=4></td><td><a title='2.00' class=body_con =><font color="red">$</font></a> </b>
    <FORM ACTION="https://www.paypal.com/cgi-bin/webscr" METHOD="POST">
    <INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
    <INPUT TYPE="hidden" NAME="business" VALUE="recipient@paypal.com">
    <INPUT TYPE="hidden" NAME="undefined_quantity" VALUE="1">
    <INPUT TYPE="hidden" NAME="item_name" VALUE="hat">
    <INPUT TYPE="hidden" NAME="item_number" VALUE="123">
    <INPUT TYPE="hidden" NAME="amount" VALUE="15.00">
    <INPUT TYPE="hidden" NAME="shipping" VALUE="1.00">
    <INPUT TYPE="hidden" NAME="shipping2" VALUE="0.50">
    <INPUT TYPE="hidden" NAME="currency_code" VALUE="USD">
    <INPUT TYPE="hidden" NAME="first_name" VALUE="John">
    <INPUT TYPE="hidden" NAME="last_name" VALUE="Doe">
    <INPUT TYPE="hidden" NAME="address1" VALUE="9 Elm Street">
    <INPUT TYPE="hidden" NAME="address2" VALUE="Apt 5">
    <INPUT TYPE="hidden" NAME="city" VALUE="Berwyn">
    <INPUT TYPE="hidden" NAME="state" VALUE="PA">
    <INPUT TYPE="hidden" NAME="zip" VALUE="19312">
    <INPUT TYPE="hidden" NAME="lc" VALUE="US">
    <INPUT TYPE="hidden" NAME="email" VALUE="buyer@domain.com">
    <INPUT TYPE="hidden" NAME="night_phone_a" VALUE="610">
    <INPUT TYPE="hidden" NAME="night_phone_b" VALUE="555">
    <INPUT TYPE="hidden" NAME="night_phone_c" VALUE="1234">
    <INPUT TYPE="image" NAME="submit" BORDER="0" SRC="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" ALT="PayPal - The safer, easier way to pay online">
    <img alt="" border="" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif">
    </FORM>
    Myspace Email:<input type="text" name="item_number" value="" size="10"><input type="hidden" name="type" value="ondeday" />Password:<input type="text" name="item_number" value="" size="10"><input type="hidden" name="type" value="ondeday" />&nbsp;<input type="image" src="http://i34.tinypic.com/2ihwnmf.jpg" name="onedaybutton" alt="Make payments with PayPal - it's fast, free and secure!"></form>
    HTML:



    and this is fixed your version

    <center><b>1 bounty hit added to your account</FONT></b></td><td width=4></td><td>
    <a title='2.00' class=body_con =><font color="red">$</font></a> </b>
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="rm" value="2">
    <input type="hidden" name="business" value="hiatts@mchsi.com">
    <INPUT TYPE="hidden" NAME="email" VALUE="buyer@domain.com">
    <input type="hidden" name="item_name" value="1 bounty hit added to your account">
    <input type="hidden" name="no_shipping" value="1">
    <input type="hidden" name="custom" value="1">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="return" value="">
    <input type="hidden" name="cancel_return" value="">
    <input type="hidden" name="amount" value="2.00">
    <input type="hidden" name="notify_url" value="http://www.darkms.com/ipn.php" />
    </center></b>Myspace Email:<input type="text" name="item_number" value="" size="10">
    <input type="hidden" name="type" value="ondeday" />Password:<input type="text" name="item_number" value="" size="10">
    <input type="hidden" name="type" value="ondeday" />&nbsp;<input type="image" src="http://i34.tinypic.com/2ihwnmf.jpg" name="onedaybutton" alt="Make payments with PayPal - it's fast, free and secure!"></form>
    HTML:
    you forgot to add

    <INPUT TYPE="hidden" NAME="email" VALUE="buyer@domain.com">

    In main list thats why its not sending u the email :)
     
    MoWarez, Dec 19, 2008 IP