Jump to content

How to configure UPS?


Guest kencash

Recommended Posts

Guest kencash

Hi,

When I set my country as Malaysia with my postal code in the admin, i get this error "Unsupported country specified to use UPS". But when I use a US postal code, it works perfectly.

Does anyone know how can I modify the module to works for my country?

Regards

Kenneth

Link to comment
Share on other sites

  • 1 year later...

Can anyone help me with getting the UPS module to work?

I am in the Netherlands, our postal code is e.g. 1234 AB. So 4 digits and 2 letters.

UPS module expects 5 digits.

This is the error message I get:

"Origin postal code must have five digits to use UPS. Please update this in the module settings."

Who knows a solution?

Greetings,

Marcel

Link to comment
Share on other sites

  • 2 weeks later...

Can anyone please help me?

Can anyone help me with getting the UPS module to work?

I am in the Netherlands, our postal code is e.g. 1234 AB. So 4 digits and 2 letters.

UPS module expects 5 digits.

This is the error message I get:

"Origin postal code must have five digits to use UPS. Please update this in the module settings."

Who knows a solution?

Greetings,

Marcel

Link to comment
Share on other sites

I know that, but the problem is that this module does not accept the Dutch Zipcode. It must have 5 digits, but our Zip is 4 digits and 2 letters.

The Store Post/Zip Code should be the zip code from which you are sending your product.

Hope this helps,

Bergii

Link to comment
Share on other sites

Guest Buechee

I'm in the u.s. and I can't get it to work either. I get this "Parse error: parse error, unexpected '}' ", some of my site info followed by this "html/store/modules/shipping/UPS/calc.php on line 100"

Link to comment
Share on other sites

  • 2 weeks later...
Guest Coffeehouse

:) I'm getting the same error when I try to set it up, If I fix it, I'll post again

I'm in the u.s. and I can't get it to work either. I get this "Parse error: parse error, unexpected '}' ", some of my site info followed by this "html/store/modules/shipping/UPS/calc.php on line 100"
Link to comment
Share on other sites

Guest Coffeehouse

:) I found the fix in another post:

In the UPS/calc.php file, find:

CODE else

$rate->rescom(strtoupper($module['rescom'])); // See the rescom() function for codes

and change to (Just adding the '{' into the statement):

CODE else

{

$rate->rescom(strtoupper($module['rescom'])); // See the rescom() function for codes

:) I'm getting the same error when I try to set it up, If I fix it, I'll post again

I'm in the u.s. and I can't get it to work either. I get this "Parse error: parse error, unexpected '}' ", some of my site info followed by this "html/store/modules/shipping/UPS/calc.php on line 100"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...