|
Rank: Starting Member
Groups: Registered
Joined: 10/1/2003 Posts: 1 Location: ,
|
It appears that the problem lies with Paypal payment pages loaded in frames.
The solution is to open the payment page in a new Windows.
Question: What is the equivalent in JAVA for :
target="_blank" href="https://paypal.com...
String paypal;
String s1 = "cmd=_xclick" ;
String s2 = "&business=Support@chagall.fr";
String s3 = "&item_name=Membership Support";
String s4 = "¤cy_code="+currency;
String s5 = "&return=http://www.chagall.fr/merci.htm" ;
String s6 = "&no_shipping=1";
String s7 = "&lc=en_US";
String s8 = "&amount=15.00";
try {
paypal = "https://www.paypal.com/en/cgi-bin/webscr?" + s1 + s2 + s3 + s4 + s5 + s6 + s7 +s8;
getAppletContext().showDocument(new URL(paypal));
}
catch (Exception x) {
x.printStackTrace();
}
Many thanks
|