Post by kess78 » Wed Aug 17, 2011 10:09 pm

Hi guys,
I'm facing with a problem with UPS shipping module.
This is a Swiss Shop based on OpenCart 1.5.1.1, default currency is CHF and additional currency is EUR.

When I checkout using CHF as currency, the shipping price with UPS is correctly calculated. When I choose EUR as my actual currency (not the default), the module reports the following error:
111266: The requested currency is not a legal tender in this country

How can I resolve this ?
Thank you, bye Kess.

Newbie

Posts

Joined
Tue Aug 09, 2011 12:22 am

Post by Daniel » Wed Aug 17, 2011 11:01 pm

did you set it EUR ?


uppercase

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by kess78 » Wed Aug 17, 2011 11:15 pm

The error is only reported when I enable Insurance.
If i disable insurance the price will be calculated but there's an additional error on that. The Exchange rate is not correctly calculated!

Newbie

Posts

Joined
Tue Aug 09, 2011 12:22 am

Post by kess78 » Wed Aug 17, 2011 11:19 pm

Daniel wrote:did you set it EUR ?


uppercase
Hi Daniel, thx for reply.
Which parameter should I set to EUR uppercase ?
I've set:
Currency Title: EUR
Code: EUR
Symbol Right: €
Decimal Places:2
Value: 0.88290000

Something wrong ?

Newbie

Posts

Joined
Tue Aug 09, 2011 12:22 am

Post by Qphoria » Thu Aug 18, 2011 1:27 am

What country is your shipping address set to?

UPS and FedEx are sticklers about matching currency to country

You can't use EUR with a USA address for example and I assume you are using a Swiss address with EUR so it won't allow it.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by kess78 » Thu Aug 18, 2011 1:33 am

Qphoria wrote:What country is your shipping address set to?

UPS and FedEx are sticklers about matching currency to country

You can't use EUR with a USA address for example and I assume you are using a Swiss address with EUR so it won't allow it.
Hello Q,
I've tried for example to ship to Italy or Germany and the error came out.
I've then disabled "Insurance" and at least i got a result but with a wrong calculated exchange rate.

Please let me know what I can do.
Thx, bye Kess.

Newbie

Posts

Joined
Tue Aug 09, 2011 12:22 am

Post by Qphoria » Thu Aug 18, 2011 3:33 am

wel yea.. it will only show when you are using insurance as that is the only time the currency is used. But it shouldn't be a wrong rate when disabled.. just a rate without insurance

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by kess78 » Thu Aug 18, 2011 4:04 pm

Qphoria wrote:wel yea.. it will only show when you are using insurance as that is the only time the currency is used. But it shouldn't be a wrong rate when disabled.. just a rate without insurance
Thank you for reply,
without insurance I get for example a quotation for "UPS Standard":
- CHF : 77.30
- EUR : 59.33
CHF is the default currency and exchange rate is at present 0.87610000.
77.30 CHF x 0.87610000 = 67.72 EUR
77.30 CHF x 0.87610000 x 0.87610000 = 59.33 EUR

As i can see, the Exchange Rate is applied twice in calculating the total in EUR Currency.
Where could i correct the issue ?

Newbie

Posts

Joined
Tue Aug 09, 2011 12:22 am

Post by kess78 » Thu Aug 18, 2011 5:26 pm

Partially resolved by modifying line 258 of: /catalog/model/shipping/ups.php
from:

Code: Select all

'text' => $this->currency->format($this->tax->calculate($this->currency->convert($cost, $this->config->get('config_currency'), $this->currency->getCode()), $this->config->get('ups_tax_class_id'), $this->config->get('config_tax')))
to:

Code: Select all

'text' => $this->currency->format($this->tax->calculate($cost, $this->config->get('ups_tax_class_id'), $this->config->get('config_tax')))
Now the tax conversion is applied correctly.

Remains to resolve the "Insurance" thing.

Newbie

Posts

Joined
Tue Aug 09, 2011 12:22 am

Post by BernardII » Fri Dec 30, 2011 9:38 pm

I am having a serious problem with a prestashop shipping module for FedEx. I know this might not the place for this, but I am really running out of options. Was wondering if I could get some help...

First of all Prestashop is a open source E-commerce platform. Now the problem is it has POOR shipping module capabilities. I was on the search for a real time shipping module. I finally found one here. I got it to work on the previous version of Prestashop (1.3.1), but upon upgrading to version 1.3.2 the module won't work.

The Fedex module uses two modified core files (Carrier.php and fedexRate.php). And there is the module folder consisting of (blockfedex.php, fedex-common.php, fedexInstall.sql, RateService_v6.wsdl, RateService_v6-test.wsdl, and rate-test.php)

Im not sure what coding I need to provide so that I can get some help, but please!!

The prestashop platform is free and easy to install (here). Can someone please take a look at this issue for me.

I appreciate any help on this issue.

Newbie

Posts

Joined
Wed Dec 28, 2011 7:54 pm
Who is online

Users browsing this forum: No registered users and 0 guests