Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / Displaying multiple currancies, checkout in one...

Displaying multiple currancies, checkout in one...

Locked

Views: 6,388

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
10 Oct 2007, 1:11 PM
#1
quickening avatar

quickening

New Zenner

Join Date:
Nov 2006
Posts:
16
Plugin Contributions:
0

Displaying multiple currancies, checkout in one...

I realise that this may not be the right forum to post this, for which I apologise and ask that it be moved if necessary but I'm a bit of a quandary.

Right, we have finally got the HSBC mod installed and working and it successfully takes orders (god, was that fun! :sarcastic smilie: ) but this presents us with another problem.

As a UK shop, our merchant account is in UK£ and for reasons I don't really understand other than complications with exchange rates at HSBC, we do not want to be able to accept multiple currencies through the HSBC gateway. (Saying that, I'm not even sure we could since they give different hashes for different currencies, but the payment module only allows one hash key :confused: ). And, since if I chose to do my shopping in US$ everything is all fine and dandy through out my shopping experience on the site, yet when I get sent to the HSBC gateway, I'm asked to pay the US$ amount in UK£. Which is good for me as the store owner, really really crap as a customer.

So, we are faced with 2 options. Either we disable the ability to shop in your local currency OR (and this is way I'm posting here as it is the ideal solution for us) we would still allow customers to shop in their local currency, but at checkout_payment their local currency changes from local_currency to UK£ and the customer has a message (which I now how to add to the template) that says something to the effect:
"Our payment gateway only accepts UK£ payment, your order will be charged to your card at the prevailing rates when order is placed".

This way we can still offer the 'local' feel of the shopping experience to our customers, but we also are able to receive the funds in our preferred currency.

Now, my question is this. Is this possible to do? And if so, fancy doing it? :P

Thank you in advance for any replies... Since we got HSBC running, this is our last stumbling block before we go live!!

12 Oct 2007, 5:14 PM
#2
barricades avatar

barricades

Inactive

Join Date:
May 2007
Posts:
150
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

I'd also love to know the answer to this question.

Anyone able to point us in the right direction?

cheers

18 Nov 2007, 12:18 AM
#3
epibeta avatar

epibeta

New Zenner

Join Date:
Nov 2007
Posts:
4
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

Count me as another person looking to do this... I'm setting up a store that processes credit card transactions offline in Canadian only. Although we want people to be able to browse the store in various currencies, we'd like to tell customers exactly they will be charged in Canadian on pages 2 and 3 of the checkout process and on the invoice itself.

If anyone has any idea if this is possible, I'd greatly appreciate hearing from you!

Thanks,
epibeta

6 Jan 2008, 7:58 PM
#4
epibeta avatar

epibeta

New Zenner

Join Date:
Nov 2007
Posts:
4
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

I'm sure this isn't the best way of handling this, but I managed to make this work by changing the the default language currency (in /includes/languages/english.php) to the currency i want users to check out in and then going into the admin panel > configuration > my store and toggling "Switch To Default Language Currency" from false to true. The end result is that users can use the currency dropdown box, but the currency defaults back to the one you chose in english.php on almost every new page load, thus guaranteeing that all orders get placed in that currency. Like i said, not exactly 100% ideal because users can't just switch to their preferred currency and have it stay that way, but it got the job done. Hope that helps somebody!

Epibeta.

15 Feb 2008, 5:31 PM
#5
supersnow avatar

supersnow

Zen Follower

Join Date:
Apr 2007
Location:
California, USA
Posts:
233
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

I would like this too. As it is a bit confusing having orders in the multiple currencies in the admin and also with paypal certain reports within payapal that are fantastic for my accounts department display only one currency at a time. This can be very time consuming to generate all the different currency reports in paypal. And the exchange rate is not always the same as what zencart has converted.

i.e. default currency (mine is US$) is converted to UK pounds in zencart. This UK pounds is submitted to paypal, which then converts it back to US$ to deposit into our paypal balance according to paypal's exchange rate. Sometimes we loose money and other times we gain. Not really an ideal solution.

Anyone with a solution on this?

28 May 2008, 9:17 AM
#6
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

Has anyone found a solution to this problem, other than the workaround outlined by epibeta?

Is there anyway to control the checkout currency in Zen-Cart?

Thanks.

13 Jun 2008, 12:28 AM
#7
karma_lab avatar

karma_lab

Zen Follower

Join Date:
Apr 2008
Posts:
135
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

I would like this functionality as well. It is not possible currently. I started looking into what kind of a mod it would be and it looks pretty scary. Not for me to do. :blink:

28 Jul 2008, 11:45 PM
#8
surajitray avatar

surajitray

New Zenner

Join Date:
Jun 2008
Location:
Delhi
Posts:
6
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

in file :

includes/modules/pages/checkout_confirmation/header.php

find lines :

if (isset($_POST['payment'])) $_SESSION['payment'] = $_POST['payment'];
$_SESSION['comments'] = zen_db_prepare_input($_POST['comments']);

Put the following after that line :

$messageStack->add_session('checkout_confirmation', TEXT_CHANGE_IN_CURRENCY, 'warning');

in file :

includes/languages/english/modules/checkout_confirmation.php

find line :

define('HEADING_TITLE', 'Step 3 of 3 - Order Confirmation');

Put the following after that line :


define('TEXT_CHANGE_IN_CURRENCY', 'Please forgive HSBC for not understanding your currency. We would like to tell you that we want to rip you by changing the currency');

:laugh: just kidding --- > put your message instead of 'Please forgive HSBC for not understanding your currency. We would like to tell you that we want to rip you by changing the currency'

and dont forget the lil quotes on both sides of your message

This works for zen-cart 1.3.0 ---> if you get the drift youll manage it any version

29 Jul 2008, 12:02 AM
#9
surajitray avatar

surajitray

New Zenner

Join Date:
Jun 2008
Location:
Delhi
Posts:
6
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

ok another thing dont forget to add --->


$messageStack->reset('checkout_confirmation');

before

$messageStack->add_session('checkout_confirmation', TEXT_CHANGE_IN_CURRENCY, 'warning');

in the above instructions

this might interfere with other messages coming from other pages which redirect to this page (unlikely though )

13 Nov 2008, 4:58 PM
#10
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

sorry for dragging this old post up, but before I install this I just wanna know if anyone got the solution by surajitray working??

8 Oct 2009, 6:21 AM
#11
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

Hmmm... This did not work for me. Also it seems that the recommended file paths are not accurate.

Anyone have any luck achieving this?

20 Oct 2009, 7:25 PM
#12
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Displaying multiple currancies, checkout in one...

With Dr. Bytes assistance I was able to allow for multiple-currency shopping but a forced default currency at checkout. For those that are interested, see this thread.