supremehost.net Posted January 31, 2007 Share Posted January 31, 2007 Hi, I have a problem that I can't figure out here. After I placed an order and checkout to make payment via Paypal, the 'Price' field become '0'. My website address is: http://www.officeshop.ca/home Please advise what when wrong. Thanks in advance Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2007 Share Posted February 1, 2007 I have the same problem happening. I responded to another message and have been searching, but no results so far. Does it make a difference that I am in Canada (as a paypal business)? Link to comment Share on other sites More sharing options...
wheeloftime Posted February 1, 2007 Share Posted February 1, 2007 Hi, I have a problem that I can't figure out here. After I placed an order and checkout to make payment via Paypal, the 'Price' field become '0'. My website address is: http://www.officeshop.ca/home Please advise what when wrong. Thanks in advance No problem as it seems. From the initial Paypal payment screen Payment For Quantity PriceosCommerce 1 $40.00 CAD Subtotal: $40.00 CAD Shipping & Handling: $0.00 CAD Total Amount: $40.00 CAD Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2007 Share Posted February 1, 2007 Would someone look at my site and confirm? http://www.tunerwerx.com/catalog/ or http://www.tunerwerx.ca/catalog I have been testing with different emails, addresses, whatever, but I still get the same result - Nothing. paypal.com/cgi-bin/webscr?amount=0&x=68&y=9&return=http%3a%2f%2fwww%2etunerwerx%2eca%2fcatalog%2fcheckout_process%2ephp&shipping=0¤cy_code=CAD&item_name=Tunerwerx%2ecom&business=info%40spiralgiant%2ecom&cancel_return=http%3a%2f%2fwww%2etunerwerx%2eca%2fcatalog%2fcheckout_payment%2ephp&cmd=_xclick]https://www.paypal.com/cgi-bin/webscr?amoun...amp;cmd=_xclick Shouldn't oscommerce be asking for the total amount in the string above, rather than zero? Link to comment Share on other sites More sharing options...
pvenero Posted February 2, 2007 Share Posted February 2, 2007 Oh great, looks like everyone is having this problem - hope someone can please help us resolve this! Link to comment Share on other sites More sharing options...
southerdenbooks Posted February 2, 2007 Share Posted February 2, 2007 Hi, i am in the UK but had a similar problem which i have now fixed you need to make sure your currency is correct, if you go to admin>localizations>currencies and then make sure you have one set up as a default (go to edit currency then select 'make default' and this may solve the problem if not then go in your 'define languages' section if you are using usd? then dont bother with this if you are using another currency find USD and replace with the currency code you wish to use. This should solve the problem. Link to comment Share on other sites More sharing options...
pvenero Posted February 2, 2007 Share Posted February 2, 2007 Thank you very much! What is the define currencies section? Hi, i am in the UK but had a similar problem which i have now fixed you need to make sure your currency is correct, if you go to admin>localizations>currencies and then make sure you have one set up as a default (go to edit currency then select 'make default' and this may solve the problem if not then go in your 'define languages' section if you are using usd? then dont bother with this if you are using another currency find USD and replace with the currency code you wish to use. This should solve the problem. Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2007 Share Posted February 2, 2007 I had a friend test out the US one, it seems to work fine, but the Canadian one doesn't work. I was testing the www.tunerwerx.ca when I was having this problem. There is only one currency, Canadian Dollars, and it is by default. It is setup so that the owner email is the info at tunerwerx.ca and that is where the payment is made to. I removed both the paypal and IPN and reinstalled them, but I don't think that really does anything. I have CA as the code for currency, and I don't think I am missing anything... Link to comment Share on other sites More sharing options...
wheeloftime Posted February 2, 2007 Share Posted February 2, 2007 I had a friend test out the US one, it seems to work fine, but the Canadian one doesn't work. I was testing the www.tunerwerx.ca when I was having this problem. There is only one currency, Canadian Dollars, and it is by default. It is setup so that the owner email is the info at tunerwerx.ca and that is where the payment is made to. I removed both the paypal and IPN and reinstalled them, but I don't think that really does anything. I have CA as the code for currency, and I don't think I am missing anything... The currency code should be CAD. Link to comment Share on other sites More sharing options...
pvenero Posted February 2, 2007 Share Posted February 2, 2007 My currency is AUD, and I have that listed as the only currency as well. When I try to make a test purchase, Paypal screen shows 0 USD - so I can tell it is still pulling USD from some where else, instead of AUD. Where else could it be from? Someone else mentioned there is USD - in the defined languages - but where exactly?? Link to comment Share on other sites More sharing options...
Guest Posted February 3, 2007 Share Posted February 3, 2007 wheeloftime, that was the trick. Thank you very much. pvenero, the currencies and languages are under localization. I noticed that the paypal transaction currency (under modules) doesn't have AUD listed, but you can select 'selected currency'. So, if you used selected currency it should work? Or you might have to use the USD and make sure that your AUD are set at the right rate maybe? Link to comment Share on other sites More sharing options...
pvenero Posted February 3, 2007 Share Posted February 3, 2007 Yep I found the currencies and languages, and those are all set to AUD. In the paypal module, I have selected "selected currency", since there is no AUD option. When I try a test transaction - it brings me to the paypal page with a zero balance of USD - instead of a balance in AUD. So there must be another USD setting that I am missing some where. Can USD be defined anywhere else? Link to comment Share on other sites More sharing options...
wheeloftime Posted February 3, 2007 Share Posted February 3, 2007 My currency is AUD, and I have that listed as the only currency as well. When I try to make a test purchase, Paypal screen shows 0 USD - so I can tell it is still pulling USD from some where else, instead of AUD. Where else could it be from? Someone else mentioned there is USD - in the defined languages - but where exactly?? If you are using the stock Paypal module you have to add AUD to the accepted currency array. Look in (catalog)/includes/modules/payment/paypal.php and find: if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } change that to if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD'))) { $my_currency = 'USD'; } Also in your (catalog)/includes/languages/english.php change // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'USD'); to // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'AUD'); if that is your only and/or main currency. Link to comment Share on other sites More sharing options...
pvenero Posted February 3, 2007 Share Posted February 3, 2007 Thank you so much for your help! This is the problem right there : if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } So I aded the 'AUD' as you said to do, and made sure I changed "my currency" to "AUD". Why would the USD be hard-coded in there? Lame. Thank you again for your help - it is truly appreciated! Link to comment Share on other sites More sharing options...
wheeloftime Posted February 3, 2007 Share Posted February 3, 2007 Thank you so much for your help! This is the problem right there : if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } So I aded the 'AUD' as you said to do, and made sure I changed "my currency" to "AUD". Why would the USD be hard-coded in there? Lame. Thank you again for your help - it is truly appreciated! What this says is if the shop's currency is not canadian dollar or euro or UK pound or Japanese yen or US dollar then make the the currency US dollar. The reason for this is that Paypal, in that time, did not accept many currencies. The default had to be set to something accepetable, and mostly default, the US dollar. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.