|
|
|
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.
|
|
|
|
|
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.242 seconds.