Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Currency question


tjmedia

Recommended Posts

This might be answered already, but I haven't found the answer.

 

If I wanted to change the currency from USD dollars to CAD dollars, how do I do that? Apparently, the system is saying that I need the right currency code for Canadian dollars, but I haven't figured it out. My goal is to have the amount for a product to be displayed in Canadian currency rather than American currency, and when the user goes through PayPal, the user will be charged in Canadian Currency. Can anyone tell me what the code for Canadian dollar is? Thank you.

Link to comment
Share on other sites

Thomas,

 

 

ummmmmm, not to point out the obvious..........but....the currency code for Canada is CAD. :D

 

Be sure to make the CAD currency your default currency as well.

 

 

 

Chris

Link to comment
Share on other sites

Thomas,

 

 

ummmmmm, not to point out the obvious..........but....the currency code for Canada is CAD. :D

 

Be sure to make the CAD currency your default currency as well.

 

 

 

Chris

 

Hi Chris,

 

Thank you for the response. It does seem rather obvious and my question does sound a little stupid. I have actually made the code to CAD, and set it as default. However, the price on the product went from $10 to like $9.57 or something like that because of the currency exchange from US to Canada. And I also tested the product through PayPal and the currency I was charged for the product was $9.57 USD. Hence, my confusion although it may be extremely obvious. Please let me know your thoughts on that issue. Highly appreciated!

 

Thank you.

 

Thomas

Link to comment
Share on other sites

  • 2 weeks later...

On a similar note. I've set up my currency as GB Pounds and I believe i've got everything right but the price is shown in USD only. And in paypal it trys to bill in USD. Any ideas please.

Link to comment
Share on other sites

You need to set the default currency for the shop. There is also an option in the paypal module to set the currency or use the selected one, though that depends on which version you are using. You may also want to consider an automatic currency updater (see My Addons).

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Points 5 & 27 in the first thread in the installation forum should help.

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Aaaarrrh ! I now see what I did. I deleted the USD currency. What I should have done is leave the USD currency there and add my own currency which is GBPounds and make this the default. That got the price to display in USD but then to get it to display in GBP I had to use the 'Update Currency' option. And thats for the auto update tip. When I figure out how to add 'add-ons' i'll have a go.

Thanks

Link to comment
Share on other sites

I finally figured it out, thanks for all your help. I had to go into the english.php file and change the default CURRENCY to CAD and then updated the admin.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

Similar problem, but couldn't quite discipher the solution.

 

My php skills aren't fantastic, but I can follow step by step.

 

I'm not sure of the version of osComerce I'm using, but haven't "updated" it in a few years.

 

I need to be able to process paypal transactions using AUD, currently they're going through in USD (great for us, but not for the customer lol).

 

In ADMIN section:

 

the below is set in my Paypal module:

Transaction Currency

The currency to use for credit card transactions

X Selected Currency

Only USD

Only CAD

Only EUR

Only GBP

Only JPY

 

the below is set in my currencies section:

Currency Code Value Action

Australian Dollar (default) AUD 1.00000000

Displaying 1 to 1 (of 1 currencies) Page 1 of 1

 

 

Details of my settings for the AUD:

Australian Dollar

 

Title: Australian Dollar

Code: AUD

 

Symbol Left: $

Symbol Right:

 

Decimal Point: .

Thousands Point: ,

Decimal Places: 2

 

Last Updated:

Value: 1.00000000

 

Example Output:

$30.00 = $30.00

 

 

What do I need to do to make paypal use AUD instead of USD?

 

Any assistance is really appreciated, thank you.

Link to comment
Share on other sites

Go into admin->Locations->Currencies and set AUD as the default currency. If that doesn't do it, try installing the Paypal Standard module since it treats the currencies differently.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi, thanks for your response.

 

In Currencies, I have AUD set as default and there is no other currency set (I may have deleted all others in the past, I can't remember).

 

I've just been looking in catalog/includes/modules/payment/paypal.php and found these codes:

 

if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) {
	$my_currency = 'USD';
  }

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Transaction Currency', 'MODULE_PAYMENT_PAYPAL_CURRENCY', 'Selected Currency', 'The currency to use for credit card transactions', '6', '6', 'tep_cfg_select_option(array(\'Selected Currency\',\'Only USD\',\'Only CAD\',\'Only EUR\',\'Only GBP\',\'Only JPY\'), ', now())");

If I add 'AUD' and change my currency to AUD in this file somehow, would that work?

Link to comment
Share on other sites

Actually, I've just found a solution, and I'm about to give it a go.

 

For anyone else seeking AUD paypal, visit:

 

http://addons.oscommerce.com/info/2865

 

It has a couple of files for download, but also posts re script editing.

 

Thank you Jack for pointing me towards the contributions for paypal, that's what I was looking for when I came accross this one.

Link to comment
Share on other sites

:blink: oh no! i did this update currency's button after switching to gbp as default (i figured out the value i went on http://www.dollars2pounds.com/) any way all my products are now massively expensive!!!!! what the hell and the blumin currency is still in dollars!?!?!?! so not only has it messed up all of my prices but it also hasnt changed to gbp. what the hell have i done!! ahhhhhh

 

this is to complicated please some one help

Link to comment
Share on other sites

ok I put it back to the way it was feeeeew, I nearly had a hart attack. this dollar sign refuses to go away and im not sure about the paypal thing mabey it (the $ sign) comes from the paypal?

 

if i change it on the site like how about i just change the dollar sign on the currency usd to a pound sign then what happens in pay pal i cant test it i am broke! i am an artist not a php programmer! why cant these things be straight forward? i dont understand all i want to do is switch the $ sign to the £ sign.

Link to comment
Share on other sites

example:

 

I have an item for $21.99

 

then I add gbp as a new currency like so...

 

Title: Pounds sterling

Code: GBP

 

Symbol Left: £

Symbol Right:

 

Decimal Point: .

Thousands Point: ,

Decimal Places: 2

 

Last Updated: 04/02/2009

Value: 0.67928302

 

Example Output:

$30.00 = £20.38

 

ok then I tick default for gbp

 

and I click UPDATE PRICES button

 

and look at my item again (was $21.99)

 

now my item is $32.38

 

???? lol why??? and still in dollars!

Link to comment
Share on other sites

HOW CHANGE $ SIMBOL? I CANT BELEVE THAT THIS IS THE BEST FACILITY OSCOMMERSE HAS (MAKE FUN OF ME, RIDICULE ME FOR ASKING FOR HELP, EGNOAR ME, AND LEAD ME ROUND THE HOUSES SO FAR ) ALL I WANT IS A SIMPLE SHOP!!!!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...