|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/12/2003 Posts: 6 Location: ,
|
I have tried to ad a variable currency_code = 'GBP' but the payment still keeps coming up a US dollars? any ideas following is the code:
<<Code Removed>>
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Possible to see the resulting HTML? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/12/2003 Posts: 6 Location: ,
|
When the page returns it just comes up a us currency, every thing else works.
When you say the resulting html what do you mean?
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
The actual HTML on the web page. It's difficult to discern what the problem may be by looking at the PHP script. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/12/2003 Posts: 6 Location: ,
|
The htnl for the page follows:
<<Code Removed>>
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
We need to see the resulting HTML *after* your script is executed (i.e., after accessing the page, do a "View Source" to get the HTML of the PayPal button). Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/12/2003 Posts: 6 Location: ,
|
the resulting html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head>
<!-- Script info: script: webscr, cmd: _xclick, template: p/xcl/pay/buy-index-blank_reg, date: Thu Mar 13 23:18:14 2003 web version: 17.0-137 branch: live-170 content version: 17.0-139 branch: live-170 -->
<title>PayPal - Send Money</title>
<META http-equiv="DESCRIPTION" content="PayPal lets you send money to anyone with email. PayPal is free for consumers and works seamlessly with your existing credit card and checking account. You can settle debts, borrow cash, divide bills or split expenses with friends all without going to an ATM or looking for your checkbook."> <META http-equiv="KEYWORDS" content="Send, money, payments, credit, credit card, instant, money, financial services, mobile, wireless, WAP, cell phones, two-way pagers, Windows CE">
<link rel="stylesheet" type="text/css" href="/css/pp_styles_111402.css">
<script src="/js/pp_main.js"></script> <link rel="shortcut icon" href="/images/pp_favicon.ico"> </head>
<script language="javascript"> var a = new Array; var showMe = ""; var mywin;
function ShowSubtotal(item) { if (mywin && !mywin.closed) { mywin.close(); } mywin = window.open('https://www.paypal.com/cgi-bin/webscr?cmd=ext/cart_details-outside','mywin','scrollbars,width=300,height=220'); showMe = item; }
function GetItem () { return (a[showMe]); } </script>
<body bgcolor="#ffffff"
> <FORM method="post" action="https://www.paypal.com/cgi-bin/webscr?__track=_xclick:p/xcl/pay/buy-index-blank_reg:_xclick-user-submit"> <input type="hidden" name="cmd" value="_xclick-flow"> <table width=600 cellpadding=0 cellspacing=0 border=0 align=center> <tr valign=bottom> <td nowrap> <img src="https://www.secure-server.com/ginger6.com/6.gif" width=150 height=50 border=0> </td> <td width="100%" align=right> <img src="/images/logo-xclick.gif" border="0" align=bottom> </td> </tr> </table>
<br class="h5"> <table bgcolor="#336699" width="100%" cellspacing=0 cellpadding=0 border=0 align=center> <tr> <td background="/images/tab_subnone.gif" width=100%><img src="/images/pixel.gif" width=1 height=27 border=0></td> </tr> </table> <br class="h5">
<img src="/images/pixel.gif" width=1 height=10><br>
<table width=600 cellpadding=0 cellspacing=0 border=0 align=center> <tr> <td width="100%" class="ppheading">Payment Details</TD> </tr> <tr> <td><img src="/images/pixel.gif" width=2 height=2></td> </tr> </table> <table cellpadding=0 cellspacing=0 border=0 align=center width=600> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr> <td bgcolor="#999999" width=100%><img src="/images/pixel.gif" width=1 height=2></td> </tr> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> </table>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center"> <tr valign="top"> <td width="6"><img src="/images/pixel.gif" width="6" height="6"></td> <td width="100%" class="pptext" align="left"> <table width=100% cellpadding=0 cellspacing=0 border=0> <tr> <td class="pptext">PayPal is the authorized payment processor for <b>K A Wilson Computer Sales</b> . <br> </td> </tr> </table> <input type=image name="" src="/images/pixel.gif" height=1 width=1 border=0> <br class="h10">
<table width=100% cellpadding=0 cellspacing=0 border=0> <tr> <td width=150><img src="/images/pixel.gif" width=150 height=1></td> <td width=6><img src="/images/pixel.gif" width=6 height=1></td> <td width=100%><img src="/images/pixel.gif" width=432 height=1></td> </tr> <tr valign=top> <td align=right class="pplabel">Pay To:</td> <td><br class="text_spacer"></td> <td class="pptext">K A Wilson Computer Sales </td> </tr> <tr valign=top> <td align=right class="pplabel"> Payment For: </td> <td><br class="text_spacer"></td> <td> <span class="pptext"> ginger6 </span> <br> <span class="ppsmalltext"> </span>
</td> </tr>
<tr valign=top> <td align=right class="pplabel"><label for="currency">Currency:</td> <td><br class="text_spacer"></td> <td> <span class="pptext">U.S. Dollars</span> <span class="ppsmalltext">
<script language="JavaScript"> <!-- hide from JavaScript-challenged browsers function openWindowQuestion1() { popupWin = window.open('https://www.paypal.com/cgi-bin/webscr?cmd=p/pop/currency_type_xclick-outside¤cy_name_plural=U.S. Dollars','EIN','scrollbars,resizable,toolbar,width=350,height=390,left=50,top=50'); popupWin.focus(); } document.write("<a href=\"javascript:openWindowQuestion1();\" tabindex=\"-1\"><img src=\"/images/sym_question.gif\" width=15 height=15 border=0 alt=\"Help\" align=absmiddle></a>") // done hiding --> </script> <noscript> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=p/pop/currency_type_xclick-outside¤cy_name_plural=U.S. Dollars" target="_new"><img src="/images/sym_question.gif" width=15 height=15 border=0 alt="Help" align=absmiddle></a> </noscript> </span> </td> </tr> <tr valign=top> <td align=right class="pplabel"> Amount: </td> <td><br class="text_spacer"></td> <td> <span class="pptext">$411.25</span> </td> </tr>
</table>
<table cellpadding=0 cellspacing=0 border=0 align=center> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr> <td><img src="/images/dotted_line_588.gif" width=588 height=2><br></td> </tr> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> </table>
<table width="100%" cellpadding=0 cellspacing=0 border=0> <tr valign=top> <td class="pptext" width="100%">If you have never paid through PayPal, <input type="submit" name="new_user_button.x" value="Click Here" class="ppbuttonsmall"></td> </tr> </table>
<table cellpadding=0 cellspacing=0 border=0 align=center> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr> <td><img src="/images/dotted_line_588.gif" width=588 height=2><br></td> </tr> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> </table>
<table width=100% cellpadding=0 cellspacing=0 border=0 class="pptablesubheading"> <tr> <td colspan=3><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr valign=bottom> <td nowrap class="ppsubheading">PayPal Login</td> <td width=6><img src="/images/pixel.gif" width=6 height=1></td> <td width="100%" class="ppsmalltext"> </td> </tr> <tr> <td colspan=3><img src="/images/pixel.gif" width=6 height=6></td> </tr> </table> <table width=100% cellpadding=0 cellspacing=0 border=0> <tr> <td width=150><img src="/images/pixel.gif" width=150 height=1></td> <td width=6><img src="/images/pixel.gif" width=6 height=1></td> <td width=100%><img src="/images/pixel.gif" width=432 height=1></td> </tr> <tr valign=top> <td colspan=3 class="pptext">Welcome, Rob Farrell! <br> <br class="h10"></td> </tr> <tr valign=top> <td align=right class="pplabel"><label for="login_email">Email Address</label>:</td> <td><br class="field_spacer"></td> <td><input type="text" name="login_email" id="login_email" value="thecrew@wayofthevoid.com" size="20"> <span class="ppsmalltext"><A href="https://www.paypal.com/cgi-bin/webscr?cmd=p/gen/problems-outside">Problems logging in?</a></span></td> </tr> <tr valign=top> <td align=right class="pplabel"><label for="login_password">PayPal Password</label>:</td> <td><br class="field_spacer"></td> <td><input type="password" name="login_password" id="login_password" size=20 maxlength=40> <span class="ppsmalltext"><A href="https://www.paypal.com/cgi-bin/webscr?cmd=_forgot-password">Forget your password?</a><br></span></TD> </tr> </table>
</td> <td width=6><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr> <td colspan=3><img src="/images/pixel.gif" width=4 height=4></td> </tr> </table>
<!-- Begin Context --><input type="hidden" name="CONTEXT" value="bfBUqaecf-tZzwfhdxMBXDRcwYqgGP78GcY_j_E7PKrPHYr_mvbnjtIv4NJ9fn3C1iYosczxfmozrKOyVkC8ogQmbdi6s3cB07cd6neeo1YiqGnnKjioCTnx1sr4z-JvU8HjrfCBzw7I0I9KbUGrX5lMkf6Tm34ALayHtMAwHxTe_SpFR5s6uOBvVVUq7gSqkA-wsPFkMjrHBlqL8S-4bpO8jUkxG5TaHPxukVsklVmPj5_0d9gyPidy5K4uWqXPk-QoZFdFU8ThESp9lot-5CvI6zVAwaMxaazReaq3ULQr6n2D1Rl1DMNek1_SzcJ869w4WE9rJrcKKloevJAwD83jcOLXQSTpXdprm8jdfBkI4eNeUIXiysCDFyNhkgZbx_4Qwn1ds31xxSwvWAotzAxBZyDjw1UG747yU_DFPk9rgWON26WFeQdvgONkR-XuhONehWJWULroQwyH4fUNyBiKoyBIXwELJFmDQBhXAUxP_qdC5RmwHaouo0UsU1vl3dKp5mm6ktiIF06oyJt3nMI6aNMdT9VC_3tIMn_6kRbgaoiy8WkqTmxF5BOqqHh43jhgT2jPSzL66301bkteVLyCw0NY6EzC64nmkMPJXA8hwzIi4Y6xIEjD-XG80kLEYoFlEeHSUuMpFnCPMLrImU5W-jRWy0EMyaa2GcD9qXeOzcDA83VJLy5wZPxLvobT4RW-J0cNgnDkWbAxOWkSfaLywn6kYT8NZeRbUHrcxiTbSkiwHVyW82PU_BtJcQhH9T1clJyI5G5ObDqdbUC7lUXvZFK30I5xNeuTfOWa_Kuzxru_FtSI3x1q--sTmiTakXKSZIeZcgy1VBXSC4__sp4sQcwXiXx9jOo-Ky-iH6enjt5aGadJ2FSyTYIUTsoBtk4zwQoeWfKXevsu-nXj0jQfVWKxiuae5Ln7ttxbwgEZa4uMmfg1KkJAK5_-G6aj76IwShudlzGBFfetQkLCD3B5r6kclONudFzoEweX7syKn_R9GXS4zu3BTN0up89hhoiwOVu439ki2vn72IW-EsinfUS9t-6JGiZieQf4ybHx75nr5tpB6B-xsw7b2yk1GcM0FkdltEuAT5IFbVUYjPFOb10FLCvvPToYB-sztPn2DKoK41tnYHHchqK-u0k4bja6vYmPjXsiHibeOnnTBi1GDGZMKSjbDWQopW"><!-- End Context -->
<table cellpadding=0 cellspacing=0 border=0 align=center width=600> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr> <td bgcolor="#999999" width=100%><img src="/images/pixel.gif" width=1 height=2></td> </tr> <tr> <td><img src="/images/pixel.gif" width=6 height=6></td> </tr> </table> <table width=600 cellpadding=0 cellspacing=0 border=0 align=center> <tr> <td colspan=4><img src="/images/pixel.gif" width=4 height=4></td> </tr> <tr> <td width=6><img src="/images/pixel.gif" width=6 height=6></td> <td width=100% class="ppsmalltext"> </td> <td><input type="submit" name="" value="Continue" > <td width=6><img src="/images/pixel.gif" width=6 height=6></td> </tr> <tr> <td colspan=4><img src="/images/pixel.gif" width=6 height=6></td> </tr> </table>
<table width=600 cellpadding=0 cellspacing=0 border=0 align=center> <tr><td> <br> <br> </td></tr> <tr> <td align=center valign=top> <style type="text/css"> .links { color: #999999; text-decoration: underline; } </style> <span class="ppsmallnote"> PayPal protects your privacy and security.<br> For more information, see our <a href="#" onclick="javascript:openWindow640('/cgi-bin/webscr?cmd=p/gen/ua/policy_privacy_pop-outside&popup=1');">Privacy Policy</a> and <a href="#" onclick="javascript:openWindow640('/cgi-bin/webscr?cmd=p/gen/ua/ua_pop-outside&popup=1');">User Agreement</a>. <br> </span></td> </tr> </table> </form> </body> </html>
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Not our page. Your page. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/12/2003 Posts: 6 Location: ,
|
The HTML form my page is above my last posting
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
All I see is your (unexecuted) PHP code and HTML from a paypal.com page. Can you copy and paste the source code from your page when viewed in a browser? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/12/2003 Posts: 6 Location: ,
|
the source code:
<html> <head> <title>ginger6 :: Checkout</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="ginger.css" rel="stylesheet" type="text/css"> </head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="currency_code" value="GBP"> </form>
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000"> <tr> <td valign="top" align="left" width="83%" rowspan="2" bgcolor="#000000"><img src="title_left.gif" width="418" height="102"></td> <td width="17%" align="right" valign="top"><img src="buttons_right.gif" width="286" height="40"></td> </tr> <tr> <td width="17%" valign="middle" align="center" bgcolor="#000000"><img src="payment_logos.gif" width="195" height="45"></td> </tr> </table></td> </tr> <tr> <td bgcolor="#FF3300"> <table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FF6600"> <tr> <td class="body"><a href="index.php" target="_self">welcome</a> | <a href="cart.php" target="_self">view basket</a> | <a href="user_details.php" target="_self">your account details</a> | <a href="login.php" target="_self">log in</a> | <a href="/~fazz/checkout.php?FF_Logoutnow=1">log out </a>| <a href="mailto:sales@ginger6.com">mail us</a> | <a href="terms.php" target="_self">terms and conditions</a> <a href="register.php" target="_self">register</a> <a href="privacy.htm" target="_self">Privacy Policy</a> </td> </tr> </table></td> </tr> <tr> <td> <table width="100%" border="0" cellpadding="7" cellspacing="0"> <tr> <td colspan="3" class="bodyboldor">welcome fazz</td> </tr> <tr> <td align="left" valign="top" width="13%"> <div align="left"><img src="telephone_order.gif" width="107" height="188" align="top"></div></td> <td width="72%" rowspan="2" align="center" valign="top" class="bodybold"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="bodybold"> <div align="center">fazz thank you for your order please choose your payment method.</div></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="10" cellpadding="0"> <tr> <td width="25%" align="center" valign="middle"><div align="center"><a href="https://www.nochex.com/nochex.dll/checkout?email=sales@ginger6.com&amount=287.88&ordernumber=3e798b3795d05&description=AMD Duron 1800hz System&returnurl=http://www.nochex.com"><img src="logono.gif" alt="Nochex payment" width="50" height="13" border="0"></a></div></td> <td width="25%" align="center" valign="top"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=sales%40ginger6.com&amount=287.88&item_name=ginger6&item_number=3e798b3795d05&image_url=https%3A%2F%2Fwww.secure-server.com%2Fginger6.com%2F6.gif&quantity=1&"><img src="paypal_logo.gif" width="50" height="15" border="0"></a></td> <td width="25%" align="center" valign="middle" class="bodybold"><div align="center"><a href="bank.php" target="_self">Bank Transfer</a></div></td> <td width="25%" align="center" valign="middle" class="bodybold"><a href="cheque_payment.php" target="_self">Cheque Payment</a> </td> </tr> </table></td> </tr> </table> </td> <td align="right" valign="top" width="15%"> <div align="right"><img src="cheaper.gif" width="107" height="168"></div></td> </tr> <tr> <td width="13%"> </td> <td width="15%"> </td> </tr> </table></td> </tr> <tr> <td valign="middle" align="center"> <div align="center" class="body">Design and build <a href="http://www.wayofthevoid.com">www.wayofthevoid.com</a></div></td> </tr> </table> </body> </html>
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
I think you'll need to comtact the developer of Intellicart. The PayPal link doesn't appear to be getting created properly. The problem may be with your php configuration and/or one of the Intellicart classes. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 4/26/2003 Posts: 2 Location: ,
|
I have been getting a similar problem - currecy_code=GBP works when passed as a hidden form parameter but NOT when passed as part of the URL. Is this found by anyone else ?? Is this a limitation of the paypal webscr and is it likley to change in the near future ???
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Should work OK. Can we see the link? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Guest
|