B
bgreer5050
I would like to pass the value of textbox1 to the item_name value in
the paypal cart. Can someone help me modify the code to obtain this
goal?
Thanks
Code:
<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="Default5.aspx.vb" Inherits="Default5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>PayPalCart</title>
</head>
<body>
<form target="paypal" action="https://www.paypal.com/cgi-bin/
webscr" method="post">
<br />
<asp:TextBox ID="TextBox1" runat="server" Style="position:
relative"></asp:TextBox>
<asp:Button ID="Button1" runat="server" PostBackUrl="~/
Default6.aspx" Style="position: relative"
Text="Button" /><br />
<br />
<br />
<br />
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-
but22.gif" border="0" name="submit" alt="Make payments with PayPal -
it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/
pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="(e-mail address removed)">
<input type="hidden" name="item_name" value=<%=Textbox1 %>>
<input type="hidden" name="item_number" value="1550">
<input type="hidden" name="amount" value="50.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
<br />
<form id="form1" runat="server">
<div>
</div>
the paypal cart. Can someone help me modify the code to obtain this
goal?
Thanks
Code:
<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="Default5.aspx.vb" Inherits="Default5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>PayPalCart</title>
</head>
<body>
<form target="paypal" action="https://www.paypal.com/cgi-bin/
webscr" method="post">
<br />
<asp:TextBox ID="TextBox1" runat="server" Style="position:
relative"></asp:TextBox>
<asp:Button ID="Button1" runat="server" PostBackUrl="~/
Default6.aspx" Style="position: relative"
Text="Button" /><br />
<br />
<br />
<br />
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-
but22.gif" border="0" name="submit" alt="Make payments with PayPal -
it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/
pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="(e-mail address removed)">
<input type="hidden" name="item_name" value=<%=Textbox1 %>>
<input type="hidden" name="item_number" value="1550">
<input type="hidden" name="amount" value="50.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
<br />
<form id="form1" runat="server">
<div>
</div>