|
|
|
Rank: Starting Member
Groups: Registered
Joined: 11/12/2002 Posts: 312 Location: ,
|
Hi,
I can generate a single item button for subscriptions that is sent to Paypal as i.e. £5 However my total when customers send to Paypal via my Charon cart (despite putting in the GBP codeline) appears as $ i.e. a total in my cart of £8 becomes $8 when sent to Paypal any ideas? thanks Dave . www.recordfair.co.uk
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
We'd need to have a look at your <FORM>. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 11/12/2002 Posts: 312 Location: ,
|
Hi, this is the transfer order page.best wishes
<% CustomerID=Request.Cookies("Products")("CustomerID") %> <% Dim CustomerRS__value CustomerRS__value = "0" if (CustomerID <> "") then CustomerRS__value = CustomerID %> <% set CustomerRS = Server.CreateObject("ADODB.Recordset") CustomerRS.ActiveConnection = MM_recordfair_STRING CustomerRS.Source = "SELECT *, FirstName + ' ' + LastName as FullName FROM Customers WHERE CustomerID=" + Replace(CustomerRS__value, "'", "''") + "" CustomerRS.CursorType = 0 CustomerRS.CursorLocation = 2 CustomerRS.LockType = 3 CustomerRS.Open() CustomerRS_numRows = 0 %> <% 'variables to send over to PAYPAL business="david.felstead@btinternet.com" 'You account name from PAYPAL item_number=Session("OrderID") item_name="Goods from Recordfair" returnvalue="http://www.recordfair.co.uk/success.asp" 'Successful Order page. amount=Request("amount") %>
<html> <head> <title>Transfer Order</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- --> </style> <link rel="stylesheet" href="file:///C|/Program%20Files/Charon%20cart/Inetpub/wwwroot/CartV2/Styles.css"> </head> <body TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 bgcolor="#FFFFFF" onLoad="document.form1.submit();"> <table width="100%" border="0"> <tr align="center"> <td colspan="2" height="55"> </td> </tr> <tr> <td width="10%" valign="top"> </td> <td width="90%" valign="top"> <form name="form1" method="post" action="https://www.paypal.com/cgi-bin/webscr"> <table width="82%" border="0"> <tr> <td colspan="2"> <p>Please wait while you are transferred to the secure server....</p> <p>*Developer note: This page submits the Customer/Order info to PAYPAL. Be sure to change the 'business' variable, or else the money will be paid to me! Paypal generates a unique reference number. You can capture this on PaypalIPN.asp.</p> </td> </tr> </table> <input type="hidden" name="business" value="<%=business%>"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="amount" value="<%=amount%>"> <input type="hidden" name="return" value="<%=returnvalue%>"> <input type="hidden" name="item_number" value="<%=item_number%>"> <input type="hidden" name="item_name" value="<%=item_name%>"> <input type="hidden" name="first_name" value="<%=(CustomerRS.Fields.Item("FirstName").Value)%>"> <input type="hidden" name="last_name" value="<%=(CustomerRS.Fields.Item("LastName").Value)%>"> <input type="hidden" name="currency_code" value="GBP">
</form> </td> </tr> </table> </body> </html> <% CustomerRS.Close() %>
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Looks ok to me. Can you switch it to a GET and send me the link? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 5/18/2003 Posts: 5 Location: ,
|
Hello,
I am using the e-Mart Cart on my website, and checked to see if this happens on mine. I did - all of the items are shown in £ (GBP) but when it gets into the cart, there is no currency symbol. I then clicked checkout and it had the payment currency in $ (USD). I was asked to find <input type="hidden" name="currency" value="USD"> and replace the "USD" with "GBP", but i could not find this line in any of the buttons. I tried inserting it into the HTML myself, however, it didn't work.
Some one PLEASE HELP - I cannot let my new site design go live until this has been resolved!
Thanks
Will Hamilton Managing Director WJH Sales
|
|
|
|
Rank: Starting Member
Groups:
Joined: 9/10/2009 Posts: 185
|
Will, you can just add the line in to your cart where is display the code for each item. Some carts will give you the option of selecting which currency you want to use.
<input type="hidden" name="currency_code" value="GBP">
Bryan
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 5/18/2003 Posts: 5 Location: ,
|
Hi,
I have tried, but it still doesn't work! Does it need to bbe in a specific place?
Thanks
Will Hamilton Managing Director WJH Sales
|
|
|
|
Rank: Starting Member
Groups:
Joined: 9/10/2009 Posts: 185
|
As long as it's within the <form> for each item (add to cart, buy now) it should work. Try clearing your cookies. Also, I believe the carts uses the currency value for the first item you choose. So if you had one item in USD and the other in GBP, the money you selected first would be used cartwide.
Can you post the code for you cart/buy buttons?
Bryan
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 5/18/2003 Posts: 5 Location: ,
|
<!-- Begin Cart Button for Item PACK-0001, Jiffy Bags --> <FORM METHOD="post" ACTION="http://emartcart.com/cgi-bin/cart.exe/cart/odb/update"> <INPUT TYPE="hidden" NAME="business" VALUE="websales.wjh.amazonmarketplace@blueyonder.co.uk"> <INPUT TYPE="hidden" NAME="taxRegion" VALUE=""> <INPUT TYPE="hidden" NAME="taxRate" VALUE="0.00"> <INPUT TYPE="hidden" NAME="return" VALUE="www.will-hamilton.pwp.blueyonder.co.uk/store/"> <INPUT TYPE="hidden" NAME="thankYouUrl" VALUE="www.will-hamilton.pwp.blueyonder.co.uk/store/thank_you.htm"> <INPUT TYPE="hidden" NAME="shipOpt1" VALUE="Standard"> <INPUT TYPE="hidden" NAME="shipOpt2" VALUE="Express"> <INPUT TYPE="hidden" NAME="shipOpt3" VALUE="Express Plus"> <INPUT TYPE= "hidden" NAME="qty" VALUE="1"> <INPUT TYPE="hidden" NAME="product" VALUE="Jiffy Bags"> <INPUT TYPE="hidden" NAME="item_number" VALUE="PACK-0001"> <INPUT TYPE="hidden" NAME="amount" VALUE="6.95"> <INPUT TYPE="hidden" NAME="ship1" VALUE="2.00"> <INPUT TYPE="hidden" NAME="ship2" VALUE="4.05"> <INPUT TYPE="hidden" NAME="ship3" VALUE="4.50"> <INPUT TYPE="hidden" NAME="shipAdd1" VALUE=".88"> <INPUT TYPE="hidden" NAME="shipAdd2" VALUE="4.05"> <INPUT TYPE="hidden" NAME="shipAdd3" VALUE="4.50"> <font size=2>Select Bag Size:</font><BR> <SELECT NAME="sel1"><OPTION VALUE="Bag Size:Small (30 Bags)">Small (30 Bags) <OPTION VALUE="Bag Size:Medium (25 Bags)">Medium (25 Bags) <OPTION VALUE="Bag Size:Large (20 Bags)">Large (20 Bags) <OPTION VALUE="Bag Size:Extra Large (10 Bages)">Extra Large (10 Bages) </select><br> <p> <INPUT TYPE="image" SRC="orderGray.gif" BORDER="0" ALT="Make payments with PayPal - it's fast, free and secure!" width="78" height="41"> <br> <A HREF="http://emartcart.com/cgi-bin/cart.exe/cart/odb/update?business=websales.wjh.amazonmarketplace%40blueyonder.co.uk&taxRegion=&taxRate=0.00&return=www.will-hamilton.pwp.blueyonder.co.uk/store/"> <IMG SRC="checkoutGray.gif" BORDER=0 ALT="Check Out" width="78" height="21"></a> </FORM> <!-- End Cart Button -->
Thanks
Will Hamilton Managing Director WJH Sales
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
You'll need to check with Emartcart. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.230 seconds.