PC Review


Reply
Thread Tools Rate Thread

%20 instead of spaces in PayPal cart display

 
 
rmc
Guest
Posts: n/a
 
      2nd Aug 2005
Hi:

I'm finally getting this to work. I have one remaining problem. After I put
in the FP code for the PayPal add to Cart button I get the following:

http://www.pctype.com/incoming/paypalspaceproblem.gif
Is there a way or code to make sure the spaces stay spaces and do not get
converted to "%20"?

Thanks in advance.

Rich


 
Reply With Quote
 
 
 
 
Rob Giordano \(Crash\)
Guest
Posts: n/a
 
      2nd Aug 2005
remove the spaces! they will cause you problems..replace with underscores


"rmc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi:
>
> I'm finally getting this to work. I have one remaining problem. After I
> put
> in the FP code for the PayPal add to Cart button I get the following:
>
> http://www.pctype.com/incoming/paypalspaceproblem.gif
> Is there a way or code to make sure the spaces stay spaces and do not get
> converted to "%20"?
>
> Thanks in advance.
>
> Rich
>
>



 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      2nd Aug 2005
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.
==============================================

"rmc" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Hi:
>
> I'm finally getting this to work. I have one remaining problem. After I put
> in the FP code for the PayPal add to Cart button I get the following:
>
> http://www.pctype.com/incoming/paypalspaceproblem.gif
> Is there a way or code to make sure the spaces stay spaces and do not get
> converted to "%20"?
>
> Thanks in advance.
>
> Rich
>
>



 
Reply With Quote
 
rmc
Guest
Posts: n/a
 
      2nd Aug 2005
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 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 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>



"Thomas A. Rowe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
> ==============================================
>
> "rmc" <(E-Mail Removed)> wrote in message

news:(E-Mail Removed)...
> > Hi:
> >
> > I'm finally getting this to work. I have one remaining problem. After I

put
> > in the FP code for the PayPal add to Cart button I get the following:
> >
> > http://www.pctype.com/incoming/paypalspaceproblem.gif
> > Is there a way or code to make sure the spaces stay spaces and do not

get
> > converted to "%20"?
> >
> > Thanks in advance.
> >
> > Rich
> >
> >

>
>



 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      2nd Aug 2005
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.
==============================================

"rmc" <(E-Mail Removed)> wrote in message news:Om$(E-Mail Removed)...
> 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 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 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>
>
>
>
> "Thomas A. Rowe" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.
>> ==============================================
>>
>> "rmc" <(E-Mail Removed)> wrote in message

> news:(E-Mail Removed)...
>> > Hi:
>> >
>> > I'm finally getting this to work. I have one remaining problem. After I

> put
>> > in the FP code for the PayPal add to Cart button I get the following:
>> >
>> > http://www.pctype.com/incoming/paypalspaceproblem.gif
>> > Is there a way or code to make sure the spaces stay spaces and do not

> get
>> > converted to "%20"?
>> >
>> > Thanks in advance.
>> >
>> > Rich
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
rmc
Guest
Posts: n/a
 
      2nd Aug 2005
Hi Tom:

BINGO! Thanks very much!

Rich

"Thomas A. Rowe" <(E-Mail Removed)> wrote in message
news:eowDA%(E-Mail Removed)...
> 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.
> ==============================================
>
> "rmc" <(E-Mail Removed)> wrote in message

news:Om$(E-Mail Removed)...
> > 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 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 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>
> >
> >
> >
> > "Thomas A. Rowe" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> 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.
> >> ==============================================
> >>
> >> "rmc" <(E-Mail Removed)> wrote in message

> > news:(E-Mail Removed)...
> >> > Hi:
> >> >
> >> > I'm finally getting this to work. I have one remaining problem. After

I
> > put
> >> > in the FP code for the PayPal add to Cart button I get the following:
> >> >
> >> > http://www.pctype.com/incoming/paypalspaceproblem.gif
> >> > Is there a way or code to make sure the spaces stay spaces and do not

> > get
> >> > converted to "%20"?
> >> >
> >> > Thanks in advance.
> >> >
> >> > Rich
> >> >
> >> >
> >>
> >>

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pass TextBox Value To Paypal Cart bgreer5050@yahoo.com Microsoft ASP .NET 2 17th Aug 2007 05:41 PM
Paypal add to cart buttons. =?Utf-8?B?QmV0dHk=?= Microsoft Frontpage 13 28th May 2007 03:26 PM
PayPal Shopping Cart Code Question =?Utf-8?B?TGl6IEJyYWRsZXk=?= Microsoft Frontpage 1 19th Sep 2006 11:40 AM
PayPal Standard Shopping Cart vs. Frontpage =?Utf-8?B?U3RlcmVvcGluaw==?= Microsoft Frontpage 2 9th Mar 2006 06:18 PM
Frontpage/Shopping Cart/Paypal Jeffrey Hall Microsoft Frontpage 7 28th Jun 2005 03:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 PM.