%20 instead of spaces in PayPal cart display

R

Rob Giordano \(Crash\)

remove the spaces! they will cause you problems..replace with underscores
 
T

Thomas A. Rowe

How are you passing that string to PayPal? Can you post the code that generates this?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

rmc

Hi Tom:

See below. It's the "title" line. I can't use underscores as previously
suggested because I need to use that same info on the ASP page and
underscores would show up, right? Thanks, RMC

<form action="https://www.paypal.com/cgi-bin/webscr" target="paypal"
method="post">
<input type="hidden" name="bn" value="AMPPFPWZ.301">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="business" value="(e-mail address removed)" >
<input type="hidden" name="item_name"
value="<%=FP_FieldLink(fp_rs,"title")%>">
<input type="hidden" name="item_number"
value="<%=FP_FieldLink(fp_rs,"item")%>">
<input type="hidden" name="amount" value="<%=FP_FieldLink(fp_rs,"total")%>">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="undefined_quantity" value="0">
<p align="left">
<input type="image" src="http://images.paypal.com/images/x-click-but10.gif"
border="0" name="submit">
</p>
</form></td>
<td width="50%" align="right"><form
action="https://www.paypal.com/cgi-bin/webscr" target="paypal"
method="post">
<input type="hidden" name="bn0" value="AMPPFPWZ.301">
<input type="hidden" name="cmd0" value="_cart">
<input type="hidden" name="business0" value="(e-mail address removed)" >
<input type="hidden" name="display" value="1" >
<br>
<input type="image" src="http://images.paypal.com/images/view_cart_03.gif"
border="0" name="submit0">
</form>
 
T

Thomas A. Rowe

Try changing the format all database field calls:

<%=FP_FieldLink(fp_rs,"title")%>

to

<%=fp_rs("title")%>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

rmc

Hi Tom:

BINGO! Thanks very much!

Rich

Thomas A. Rowe said:
Try changing the format all database field calls:

<%=FP_FieldLink(fp_rs,"title")%>

to

<%=fp_rs("title")%>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top