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

.Net Component. Options
Stryker
#1 Posted : Sunday, February 16, 2003 3:23:18 PM
Rank: Starting Member

Groups: Registered

Joined: 2/16/2003
Posts: 3
Location: ,
I am making my own .Net component that will handle multiple currencies. However, the output from the component works fine until I add in the "¤cy_code=" For example: This Works: <a href="#" onclick=window.open("https://www.paypal.com/cart/add=1&business=myemail%40hotmail.com+&item_name=MYITEM&amount=126.40&item_number=63&image_url=images%5ctitle.jpg&bn=c1.pp.net-1.1.2002","cartwin","width=600,height=400,scrollbars,location,resizable,status")><img id="dlstResults10__ctl1_C1addtocart2" src="https://www.paypal.com/images/x-click-but22.gif" border="0" style="width:86px;" /></a></P> This doesn't <a href="#" onclick=window.open("https://www.paypal.com/cart/add=1&business=myemail%40hotmail.com+&item_name=MYITEM&amount=126.40&item_number=63¤cy_code=CAD&image_url=images%5ctitle.jpg&bn=c1.pp.net-1.1.2002","cartwin","width=600,height=400,scrollbars,location,resizable,status")><img id="dlstResults10__ctl1_C1addtocart2" src="https://www.paypal.com/images/x-click-but22.gif" border="0" style="width:86px;" /></a></P> Anyone know why?
Sponsor  
 
TerryJohnson
#2 Posted : Tuesday, February 18, 2003 3:58:08 PM
Rank: Starting Member

Groups: Registered

Joined: 2/15/2003
Posts: 10
Location: ,
I think PayPal only officially supports POST (and/or the GET string might be too long for some browsers) so you could try passing the variables to a script in the pop-up window that executes a POST request with them?

Also, it might be the way & currency_code is handled in the URLencoding - see how it has come out in your message above.


Terry Johnson
Scribendi.com
Stryker
#3 Posted : Tuesday, February 18, 2003 4:22:05 PM
Rank: Starting Member

Groups: Registered

Joined: 2/16/2003
Posts: 3
Location: ,
Thanks for your help guys I got it to work.
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.217 seconds.