close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

checkout failed on shipping quote

Thread began 6/20/2009 8:10 pm by Stan | Last modified 6/23/2009 11:15 am by Ray Borduin | 2316 views | 10 replies |

Stan

checkout failed on shipping quote

I'm on the production usps server this is the error:

DomesticRatesV3:clsRateV3.ValidateMachinable;RateEngineV3.ProcessRequest - Machinable value must be 'True' or 'False' for service type Parcel Post and service type All. -2147219487DomesticRatesV3:clsRateV3.ValidateMachinable;RateEngineV3.ProcessRequestMachinable value must be 'True' or 'False' for service type Parcel Post and service type All.1000440

In my eCart USPS Shipping (BPeCart) server behavior the "Package machinable" is set to True. It would probably be helpful to actually see what is sent to USPS but I haven't figured out a good way to do that yet. Any helpful suggestions?

Sign in to reply to this post

Stan

Got the full request:
API=RateV3&XML=PARCEL9459894598014REGULAR

So why wouldn't the "machinable" be set to TRUE? Strange.

Sign in to reply to this post

Ray BorduinWebAssist

View the source code for the full request. It is xml so it won't be displayed in the browser.

Sign in to reply to this post

Stan

Ray, is there an easy way to view the XML in the source code? Can I use "Live Code" for viewing the contents?

Sign in to reply to this post

Ray BorduinWebAssist

Usually you just right click and select view source or select view source from the main menu.

Sign in to reply to this post

Stan

LOL, boy do I feel stupid. I thought there must be some really cool feature in Dreamweaver that I didn't know about, never thinking about what you really said.

request:
<p class="eC_OrderInfo">API=RateV3&XML=<RateV3Request USERID="421BABXX6206"><Package ID="0"><Service>PARCEL</Service><ZipOrigination>94598</ZipOrigination><ZipDestination>94598</ZipDestination><Pounds>0</Pounds><Ounces>13</Ounces><Size>REGULAR</Size></Package></RateV3Request> </p>

So the machinable value is never being sent, hence the error. Are you aware of a variable or some such that I missed?

The eCart USPS Shipping server behavior is set to "Package machinable True" but it isn't being put into the response for some reason??

behavior jpg attached.

Sign in to reply to this post

Stan

Would this expression ever evaluate true?

if (strtoupper($USPS_Parameters["CarrierCode"]) == "PARCEL" && strtoupper($USPS_Parameters["CarrierCode"]) == "ALL")

Machine code can never be set to TRUE or FALSE because the carriercode can never be both.

That's the problem with the usps shipping. Changed ti to || and everything works fine.

Sign in to reply to this post

Travis250923

I have the same problem and submitted a support ticket. It has been passed onto engineering to look at.

Other shipping quotes are working such as priority, and express.

Sign in to reply to this post

Ray BorduinWebAssist

I see the problem.

The line of code in the USPS include file:

if (strtoupper($USPS_Parameters["CarrierCode"]) == "PARCEL" && strtoupper($USPS_Parameters["CarrierCode"]) == "ALL") {

must be wrong... my guess is that it should be:

if (strtoupper($USPS_Parameters["CarrierCode"]) == "PARCEL" || strtoupper($USPS_Parameters["CarrierCode"]) == "ALL") {

Sign in to reply to this post

Stan

Originally Said By: Stan
  Would this expression ever evaluate true?

if (strtoupper($USPS_Parameters["CarrierCode"]) == "PARCEL" && strtoupper($USPS_Parameters["CarrierCode"]) == "ALL")

Machine code can never be set to TRUE or FALSE because the carriercode can never be both.

That's the problem with the usps shipping. Changed ti to || and everything works fine.  



As I stated before I changed it to "or" and it all works as expected. This seems like a LOT of people would be having trouble.

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...