YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Response.Redirect w/ QueryString values Options
huegumper
#1 Posted : Thursday, February 20, 2003 5:00:31 PM
Rank: Starting Member

Groups: Registered

Joined: 2/20/2003
Posts: 1
Location: ,
Have any of you ever come across this behaviour? After completing processing my own processing I build the destination URL as a string (Server.URLEncode'ing the params) and Response.Redirect( strURL ) to PayPal's site. For reasons unknown the link appears in the browser (both IE 6 and NS 4.7) with the equal signs replaced with '%3D' as though it were URLencoded by the Response.Redirect. Apparently the PaPal site doesn't know what to make of '%3D' b/c I'm taken not to the transaction page as expected but to PayPal's front page. Now if I put the string in a link: (<a href=" & strURL & ">Continue</a>) it works beautifully. However, the extra step of clicking 'Continue' disrupts the flow of the system and seems terribly unecessary. Any ideas or comments will be greatly appreciated.
Sponsor  
 
paypal_pb
#2 Posted : Thursday, February 20, 2003 7:44:42 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Does it look like the Response.Redirect function is mis-encoding the URL? The URL you see in the Address bar should have &'s and ='s, not the %xx equivalents.

I couldn't find much on the matter except this: http://www.learnasp.com/learn/encode

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
Sinjitsui
#3 Posted : Friday, February 21, 2003 7:51:51 PM
Rank: Starting Member

Groups: Registered

Joined: 2/19/2003
Posts: 10
Location: ,
huegumper look under Paypal Solutions /Subscriptions
...
I have been communicating with paypal_pb about this same issue with no resolution. If you find one, please let me know and I will do the same for you.
Brido
#4 Posted : Tuesday, October 21, 2003 12:49:44 AM
Rank: Starting Member

Groups: Registered

Joined: 10/21/2003
Posts: 2
Location: ,
To solve this problem you need to put a ? at the end of your url just before the start of the QueryString. This will keep the = signs from changing to %3d.

EX:
URL=("https://www.paypal.com/xclick?business=Name%40Business.com")
response.redirect(URL)


Brido
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.242 seconds.