If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / userCurrency - updated for 1.3.5

userCurrency - updated for 1.3.5

Started by s_mack on 11 Sep 2006, 6:59 AM · Views: 27,024

Results 41 to 60 of 148
4 Nov 2007, 9:21 PM
#41
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

userCurrency - updated for 1.3.5

I must be doing something wrong because I just cannot get this working.

Everything installed ok, I'm in Canada ip2nation.com show that I'm in Canada and other zencart sites using this mod change the currency to CAD for me.

I have 2 currencies (USD & CAD) with USD being my default. Basically, when not logged in and in a browser with cache cleared my site always defaults to the 'default' currency that I have set in localization -> currencies. Do I need to 'turn it on' somewhere in admin to get it working?

I also noticed the uninstall sql script is trying to remove tables customer_currency and country_currency whereas the tables that were created are called customers_currency and countries_currency

5 Nov 2007, 2:32 PM
#42
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

You are right on with the uninstall script - 2 typos that I didn't notice because I've never actually uninstalled the script :). That has been fixed and a new version uploaded, but really no need to download - just open the file uninstall.sql and change customer_currency to customers_currency and country_currency to countries_currency.

As for your other problems, all I can say is re-read the readme file and follow the steps carefully - its all there.

  • Steven
5 Nov 2007, 2:53 PM
#43
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

I've re read numerous times and still cannot get that part to work, I know other parts are working as the customers_currency table is being populated with information for registered users - it would be great to get the 1st part working. Even without it, it's a great mod...

Off to re read....

5 Nov 2007, 8:12 PM
#44
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Ok, well after some testing, the only thing that is not working for me is when a guest visits the site it does not update the currency - if that guest then creates a user account with Canada for the country then the currency does update and I see an entry in the customers_currency table reflecting this. Also, when that user logs off (clear cache, etc..) and then goes back to the store and logs in the currency is remembered.

I'm sure that everything like the iso codes are ok (presumably it wouldn't update the currency on account creation is the iso codes were not set correctly) - though I have also checked these & have have not changed them since installation (zen 1.3.7).

So, I'm now at a loss as to how to get this going, my IP address is coming through ok - I turned it on in the footer - ip2nation show this as being a Canadian IP address.

Earlier in the thread you mentioned that you hardcoded an ip address to see if the currency updates. Do you have any notes on how to do this so I can do a bit more troubleshooting?
Thanks
James

19 Nov 2007, 6:41 AM
#45
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Well, I still cannot get my site to automatically update the currency.

The biggest problem this causes is if a Canadian does not update the currency from USD to CAD, then they try to make a purchase and pay via paypal ipn the payment is rejected.

It looks like this is because paypal is initially expecting to make a USD payment, but when the customer is returned to our store and becomes 'logged in', their cart is updated to CAD and when they attempt to complete the order the paypal payment is rejected.

19 Nov 2007, 4:32 PM
#46
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

That last bit (about PayPal) doesn't make sense. PayPal shouldn't be "expecting" any currency... if it is, then its a setting in PayPal. In other words, is your PayPal set to accept Canadian currency?? Check that both at PayPal and in your PayPal settings in your Zen admin.

Give me a link to your site (PM if you want) and I'll try to help.

  • Steven
19 Nov 2007, 7:39 PM
#47
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

The error from paypal is this:

10444 Transaction refused because of an invalid argument. See additional error messages for details. - The transaction currency specified must be the same as previously specified.

This occurs with this scenario:
In Canada, currency set to default - USD (not updating automatically with usercurrency)
Add something to cart - select paypal ipn//express without creating an account or logging into store.
I'm then taken to paypal - log in with a different account to the one accepting payment Returned to store to complete checkout process - currency updates to CAD when I attempt to complete checkout I then get the above error.

If I visit store, manually change the currency to CAD - add something to cart and select paypal ipn for payment I'm again taken to paypal and then returned to store to complete the transaction and this time it goes through.

If I remove the CAD currency from store (only USD available) and go through the above process the transaction completes in USD without a problem.

Paypal settings in admin are for 'selected currency' and I accept USD, CAD amongst others in paypal account.

Thus my presumption that paypal are originally expecting a USD purchase, but this changes to CAD part way through the process and paypal then refuses the transaction.

I will pm you my store.

Thanks.
James

19 Nov 2007, 7:54 PM
#48
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

Is it PayPal IPN or PayPal Express? If you are using the Express Checkout then yeah, I have no doubt that this module and that one may not play nice.

You should not be able to start the checkout process without having the customer logged in... that is the premis this module works on.

So you may not be able to use this module... although, I don't think your problem will be limited to this module... just ANY customer wishing to use a different currency than default. So my recommendation to you is to change your site setup so that customers must be logged in before they go to checkout.

The only issue that seems to be a problem with this mod is why isn't it pre-selecting a currency based on IP? And my only answer really is that you'll have to take another look at the readme and make sure the IP2Nation part of the install is done correctly.

But I'll take a look once I get your PM

  • Steven
19 Nov 2007, 9:12 PM
#49
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Sorry for the confusion, my mistake - yes, I mean paypal express.

19 Nov 2007, 9:15 PM
#50
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Yes, you are correct - the only issue with the mod is why it is not selecting the correct currency - I will re read the readme and check the IP2Nation part of the install. I know it must be something I'm doing (or not doing) - the install did seem painless and straight forward.

Thanks
James

20 Nov 2007, 2:23 AM
#51
jbrit avatar

jbrit

New Zenner

Join Date:
Aug 2006
Location:
BC, Canada
Posts:
29
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

:)))))))) Yippeee, it's working.

Now for the embarassment! - I guess the ipnation.sql file had not taken correctly, I noticed there were only 1500 or so records in the ipnation table, I removed it and tried again and got the same - though I was not getting any error messages. So I broke it into 3 chunks and bingo, it's working now.

Thanks for your help Steven....

James

30 Nov 2007, 6:34 AM
#52
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Hi,

My site is Australian. I was also wondering if userCurrency can do this:
userCurrency detects an Australian guest, the pricing is shown as AUD and GST inclusive. When a overseas guest (e.g. Canadian) comes along, the pricing is shown as CAD and GST exclusive (i.e. cheaper than Australian because of no GST). Any suggestion will be appreciated.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Nov 2007, 6:43 AM
#53
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

Well... use this mod for the currency part of it.

As for the taxes... hmm... I'm presuming you have your cart set up so that it displays prices inclusive of taxes, right? So the trick is, to shut that off for customers outside of Australia. Interesting.

The issue only exists for guests... because once you are logged in, I'm sure you can set up the tax system to display how you want (I think).

You're on the right track... modifying this mod is likely your best bet... get it to detect the guest's likely location and display with or without taxes accordingly.

I can't do it for you, but I think it can be done and you're headed in the right direction... if you want to bother with it. A much simpler way is to just NOT display prices inclusive of taxes and deal with taxes at checkout. Although I realize in some countries that is not entirely legal.

I do wish you luck. But its outside the scope of this contribution and you should probably start a new thread somewhere and see if you can get somewhere with it.

Cheers.

  • Steven
13 Dec 2007, 7:41 PM
#54
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: userCurrency - updated for 1.3.5

Hello,

I just installed this mod and I am wondering if someone from the US, UK or Euro zone could check my site to see if the currency shows up right for them.

I had no trouble installed the mod (excluding when I forgot to copy the "whole" file to insert... sigh... too many late nights I guess)

I appreciate it!

click here for the site: http://www.certifiedbattery.com

thanks

13 Dec 2007, 10:38 PM
#55
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

I'm from Canada, and of course that worked.

Using Tor, I'm able to route my traffic through different computers on the 'net allowing me to "appear" like I'm from various countries.

Here are the results I got:

France: Euro
Germany: Euro
USA: USD

So it appears to be working fine. I couldn't get it to route through the UK (I guess nobody there uses Tor)

  • Steven
14 Dec 2007, 1:26 AM
#56
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: userCurrency - updated for 1.3.5

bifficus:

Hello,

I just installed this mod and I am wondering if someone from the US, UK or Euro zone could check my site to see if the currency shows up right for them.

I had no trouble installed the mod (excluding when I forgot to copy the "whole" file to insert... sigh... too many late nights I guess)

I appreciate it!

click here for the site: http://www.certifiedbattery.com

thanks

It shows US Dollar in the currency sidebox, and I'm in the US so I would say that it's working.

Matt


Zen Cart and it's community are the best!!

16 Dec 2007, 5:49 AM
#58
aw3s0me avatar

aw3s0me

New Zenner

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

Re: userCurrency - updated for 1.3.5

can anyone explain to me how to install/apply sql files?

sorry im a newb

16 Dec 2007, 5:17 PM
#59
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: userCurrency - updated for 1.3.5

Not here, no.

While anyone in this thead or any other given thread can explain that, this isn't the place for it. It is important that you post topics in their appropriate place, and such a general question belongs out in the general area.
Thank you.

  • Steven
16 Dec 2007, 8:00 PM
#60
aw3s0me avatar

aw3s0me

New Zenner

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

Re: userCurrency - updated for 1.3.5

s_mack:

Not here, no.

While anyone in this thead or any other given thread can explain that, this isn't the place for it. It is important that you post topics in their appropriate place, and such a general question belongs out in the general area.
Thank you.

  • Steven

..........lolok