Jump to content

scythe000

Member
  • Posts

    155
  • Joined

  • Last visited

Posts posted by scythe000

  1. I upgraded to 3.0.19 from 3.0.15.

    I thought all was well, until i staretd getting the 'failed to add package' error. I made sure there were no zero weights.

    I tried the fix here: http://forums.cubecart.com/index.php?showt...mp;#entry165802 which did nothing.

    I did this: http://forums.cubecart.com/index.php?showt...rt=#entry165802 and it was working. But today, I started getting orders with 0.00 for shipping! Help!

    I also tried re-uploading the 3.0.19 files, and I'm getting this:

    http://forums.cubecart.com/index.php?showt...=22295&st=0 which says to change

    Request XML:
    
    --------------------------------------------------------------------------------
    
    <RateV3Request USERID="392ONSAN7399" PASSWORD="xxxxx"></RateV3Request>
    
    --------------------------------------------------------------------------------
    
    Return XML:
    
    --------------------------------------------------------------------------------
    
    <?xml version="1.0"?>
    
    <Error><Number>-2147219085</Number><Source>Rate_Respond.;SOLServerRates.RateV3_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema.
    
    line= 0 pos= 1193</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error>
    
    Request XML:
    
    --------------------------------------------------------------------------------
    
    <RateV3Request USERID="392ONSAN7399" PASSWORD="xxxxx"></RateV3Request>
    
    --------------------------------------------------------------------------------
    
    Return XML:
    
    --------------------------------------------------------------------------------
    
    <?xml version="1.0"?>
    
    <Error><Number>-2147219085</Number><Source>Rate_Respond.;SOLServerRates.RateV3_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema.
    
    line= 0 pos= 1193</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error>
    
    Request XML:
    
    --------------------------------------------------------------------------------
    
    <RateV3Request USERID="392ONSAN7399" PASSWORD="xxxxx"></RateV3Request>
    
    --------------------------------------------------------------------------------
    
    Return XML:
    
    --------------------------------------------------------------------------------
    
    <?xml version="1.0"?>
    
    <Error><Number>-2147219085</Number><Source>Rate_Respond.;SOLServerRates.RateV3_Respond</Source><Description>Invalid XML Element cannot be empty according to the DTD/Schema.
    
    line= 0 pos= 1193</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error>
    
    
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/o/n/s/onsaninc/html/modules/shipping/USPS/class.usps.php:464) in /home/content/o/n/s/onsaninc/html/includes/content/cart.inc.php on line 610
    
    
    
    
    
    
    EDIT:
    
    Ok, I reuploaded the original files and applied this fix to /modules/shipping/usps/calc.php:
    
    Find:
    
    
    
    case "Parcel":
    
    
    Replace with:
    
    
    
    case "ParcelM":
    
    
    
    
    Shipping seems to be working ok. But for international, I still see about 12 different options, some of which are invalid. How do I remove the invalid entries?
    
    
    
    EDIT2:
    
    
    
    Ok, found a fix here: 
    if($sum>0){
    
    
    to
    
    
    
    if(($sum>0) && (($api=="RateV2") || ($key=="Priority Mail International"))){

    However, this breaks domestic shipping for me. You can see from the two phps attached, one works for international, but not domestic, and the other works for domestic, but has a zillion options ofr international.

    This is my final problem, I'd be really happy if someone could help with this!

    calc___known_working_domestic_3.0.19_Copy.php

    calc___working_international__broken_domestic.php

  2. Since no one has posted fixes yet

    To get around:

    USPS ERROR: One of the following variables was empty...

    Open /modules/shipping/USPS/calc.php

    Find:

    if(!$usps->add_package($package) && $module['debug']==0) die("Failed to add the package");
    
    
    
    
    Replace with:
    
    
    
    //if(!$usps->add_package($package) && $module['debug']==0) die("Failed to add the package");
    
    
    
    
    To get around:
    
    
    Authorization Error connecting to United States Postal Service Server...
    Please not this assumes the USPS shipping is/was working for you before. Open /modules/shipping/USPS/calc.php Find:

    $usps->submit_request();
    
    
    
    
    Replace with:
    
    
    
    //$usps->submit_request();

    Thank you!

    All I had to do was change "Parcel" to "ParcelM"

  3. Ok, I recently upgraded from 3.0.15 to 3.0.19 and I thouhg all was well. I noticed I hadn't had any orders, and to my horror, when doing a test transaction, I'm getting a 'failed to add package' error. According to the KB, it means there's a zero weight for my item and it's affectign the USPS module. But, the items worked before, and I checked that their weights are not zero. See for yourself at http;//onsaninc.com .

    Help!

  4. So, what's the current status on this?

    I can ship ok domestically and internationally by weight, although my rates are screwed up.

    I would love to be able to ship priority or standard or whatever and actually get the right rates.

  5. My best guess is that you didn't format the price line correctly as its just adding the handling fee and nothing more.

    What do you have in the ISO and 1st class rate fields? You should have something like:

    Countries: US

    1st Class: 1:4.05,2:6.05,3:9.00,etc

    Yeah mine are similar to that. Do you have the complete list of proper 1st class weight ratios? I used the ones someone had posted in a thread here, but I'm not sure that they are correct. Also, does anyone know what 2nd class means for USPS? Is that parcel post or priority mail?

    TIA!

  6. SOLVED: HERE IS WHAT I DID TO FIX THIS ISSUE.

    Go to your paypal account. Click "Profile"

    Click Shipping Calculations under Selling Preferences.

    There is a box at the very bottom that says "Click here to allow transaction-based shipping values to override the profile shipping settings listed above (if profile settings are enabled)."

    I checked that box and everything is working fine now.

    THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU!!!!!

    Helped me greatly.

  7. Ok, I'm using shipping by weight, latest version of CubeCart,

    Zone 1 is set to US,

    Handling fee is 2,

    rates are 10:10.00,20:15.00,35:20.00

    payment is by paypal.

    Now, everything looks ok, but when it finally transfers to Paypal, it always sets the shipping fee at $2.00 for any weights to any place.

    Any Ideas? I've got orders waiting, and I don't know what to do.

    Thanks!

    Ken

×
×
  • Create New...