Shipping estimator - Foreign currency mismatch

Started by Ollie, November 08, 2014, 02:46:28 PM

Previous topic - Next topic

Ollie

Shipping estimator works perfectly when I request an estimate in English. It also works well when switching to another language and getting a quote in USD. However, when I choose a foreign currency in a foreign language (other than English), there is a mismatch in the estimated amounts. The amount in the dropdown menu does not match the amount shown on the page. See attached screenshot. I appreciate if someone could help me figure this one out.
Assistive technologies for people with special needs:
https://assistech.com/store/

Basara

Hello

What shipping method used in screenshot?
Can you please post site URL?

abolabo

shipping estimator based on shipping methods calculations. i guess use tried an usps shipping method. Be sure that your usps account allow to process requests with a different currencies.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Ollie

Quote from: Basara on November 10, 2014, 06:36:05 AM
What shipping method used in screenshot? Can you please post site URL?
USPS. Here's the URL for one of the products: http://assistech.com/store/152239
Assistive technologies for people with special needs:
https://assistech.com/store/

Ollie

Quote from: abolabo on November 10, 2014, 09:57:53 AM
Be sure that your usps account allow to process requests with a different currencies.
The problem is happening with both UPS and USPS. I checked my USPS settings in Abantecart and there's no place to set currency.
Assistive technologies for people with special needs:
https://assistech.com/store/

abolabo

i have a problem with replication this bug ( can't get damn usps account ).
Can you tell what is your store location settings (country,  zone, postal-code) and customer's address that you tried to? i guess cause is in address
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

llegrand

FYI  -  I had same issue with UPS,  I found if I change the UPS setting to ALL Locations - it works,  is set to only US,  I get only the store location state.

Additionally,  since I only have enabled US for this install,  all the countries (even though turned off )  show in the country dropdown, but if one is selected that doesn't have zones enabled it shows NONE

Just hadn't posted this yet.

Lee

PS abolabo -  I think they do an IP check  - if you want me to get you a test account  let me know.


Ollie

#7
Thank you, Lee. You're right on target. I changed my UPS settings to All Zones and it's now working.  :) However, this is a fix to another post. (You might want to post your answer there too.) These two posts are somehow related, they both have to do with shipping so it's easy to get confused. :-) The above post has to do with shipping and foreign currency mismatch, and I'm still having trouble in this area. The issue is still open.
Assistive technologies for people with special needs:
https://assistech.com/store/

llegrand

You're right Ollie,  sorry for the confusion - it was a busy and harried day today.
I will post this over there also -  thanks for the catch.

Lee

Ollie

I found out what the problem was. There is no currency mismatch. What happens is that the quotes provided by the carrier are all in US dollars (my default currency), even though they display the currency symbol that the customer selected. I believe this problem can be easily solved with a javascript replace function and that's what I'm trying now.
Assistive technologies for people with special needs:
https://assistech.com/store/

Basara

Quote from: Ollie on November 30, 2014, 03:22:01 PM
I found out what the problem was. There is no currency mismatch. What happens is that the quotes provided by the carrier are all in US dollars (my default currency), even though they display the currency symbol that the customer selected. I believe this problem can be easily solved with a javascript replace function and that's what I'm trying now.

Hello.
Issue confirmed. Thank you for reporting problem.  Fixes process https://github.com/abantecart/abantecart-src/issues/42

Ollie

Quote from: Basara on December 01, 2014, 08:37:26 AM
Issue confirmed. Thank you for reporting problem.  Fixes process https://github.com/abantecart/abantecart-src/issues/42
Hi Basara. I created an account at GitHub, but couldn't find the fixes. Is it just a post looking for fixes?
Assistive technologies for people with special needs:
https://assistech.com/store/

Basara

Sorry for inconvenience. I mean when developer fix it this issue at github will be closed.

Ollie

#13
No problem. I believe I found out what's going on. The amounts in the dropdown menu are in the currency selected by the customer and they seem to be correct. For example, USD $49.35 = 39.62E to ship an item to France by Priority Mail. This means 1 USD = .8028368E. The line right below the Subtotal is taking the quote in Euro and multiplying by .8028368E, therefore posting an incorrect amount (31.81) instead of repeating the same quote from USPS. It looks like the totals are in a table called "totals_table". Any idea where this table is located?
Assistive technologies for people with special needs:
https://assistech.com/store/

Ollie

#14
With the help of a programmer in Greece I was able to solve the problem with the shipping estimator when using a foreign currency. There is a "weight code" setting in UPS that needs to match weight class. Once I entered "lb" for "pound", the problem was gone. With this change and the javascript he customized for me, my shipping estimator is now working beautifully.
Assistive technologies for people with special needs:
https://assistech.com/store/

Forum Rules Code of conduct
AbanteCart.com 2010 -