close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


International orders returning 0 for UPS shipping

Thread began 11/19/2010 11:07 am by tricomb2b | Last modified 12/02/2010 4:26 pm by Jason Byrnes | 1238 views | 3 replies |


International orders returning 0 for UPS shipping

I'm working on a project where ecart was used and while there are very few international orders the ones we do get are showing up with 0's for shipping. Using the failure URL I'm getting an error from UPS of "Message: The requested service is unavailable between the selected locations." Looking at the database it appears that international shipping has always returned 0's.

The city, state, postal code I'm testing sending to is Magog, QC, CA J1X 2N1.

This is an example from one of the orders that received a 0.

Sign in to reply to this post

Jason ByrnesWebAssist

that error means the Shipping type you selected will work for an international order.

on the confirm page, lok for the following line:

$Shipping_Parameters["CarrierCode"] = "03";

(The value may be different)

We can dynamically set this besaed on the shipping country:

$Shipping_Parameters["CarrierCode"] = (isset($_SESSION['eCartCheckoutForm_shipping_country']) && $_SESSION['eCartCheckoutForm_shipping_country'] == "US")?"03":"07";

This will use ground shipping (03) if the shipping country is US and Worldwide Express (07) if not

Here is a listing of the possible values.
- 2nd Day Air = 02
- Ground = 03
- Worldwide Express = 07
- Worldwide Expedited = 08
- Standard = 11
- 3 Day Select = 12
- Next Day Air Saver = 13
- Next Day Air Early AM = 14
- Worldwide Express Plus = 54
- 2nd Day Air AM = 59
- Express Saver = 65

Sign in to reply to this post


Is it possible this code is only in newer versions? I'm not able to find anything similar to the code below (realizing that this uses ASP.VBscript version not PHP, I still couldn't find anything similar to this code). Is there a way to see what version was used to build the cart? I'm thinking this was done with an earlier version.

For the shipping there were the options of:

Next Day Air
2nd Day Air
Worldwide Express
Worldwide Expedited
3 Day Select
Next Day Air Saver
Next Day Air Early AM
Worldwide Express Plus
2nd Day Air AM
Express Saver

All of these returned 0's for international shipping.

Sign in to reply to this post

Jason ByrnesWebAssist

yeah, it sounds like you are using ecart 4.

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...