VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: jeffdub on April 26, 2012, 02:34:26 AM

Title: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: jeffdub on April 26, 2012, 02:34:26 AM
We are sorry, no shipment method matches the characteristics of your order.

Everything is configured correctly and the other plugins work... not surprised that the UPS one didn't to be honest..  The whole system (VM2) seems a little touch and go, would've saved time and money if we had of gone with a paid ecom solution!

I sent my issue directly to their support email since my threads never get answered here. Will post results.
Title: Re: UPS Plugin We are sorry, no shipment method matches the characteristics of y
Post by: jeffdub on April 27, 2012, 13:34:28 PM
I figured out the issue and found out how to get around the bug.

The option "UPS Standard" is not working and was causing no shipment options to be found.  We've removed the option and replaced with UPS Ground and Next Day and the plugin now works.

I'm not sure if "UPS Standard" service is disabled for American addresses or what.. nevertheless, the plugin works without it.
Title: Re: UPS Plugin Bug
Post by: mspot on June 05, 2012, 23:48:58 PM
How did you figure this out?  I have a simuliar issue, cannot get shipping quotes, and don't even get "ground" shipping as an option in the back end to select for our US shipments
Title: Re: UPS Plugin Bug
Post by: alatak on June 06, 2012, 09:20:54 AM
Hi

QuoteThe option "UPS Standard" is not working and was causing no shipment options to be found.  We've removed the option and replaced with UPS Ground and Next Day and the plugin now works.
Interesting :) Do you know why? 
Title: Re: UPS Plugin Bug
Post by: mspot on June 07, 2012, 16:25:43 PM
Yes, I believe it was becuase my UPS API wasn't in production mode.  It now is, and it shows up, however, I still get the

"We are sorry, no shipment method matches the characteristics of your order." error on checkout.
Title: Re: UPS Plugin Bug
Post by: alatak on June 07, 2012, 18:15:15 PM
Hi,

Ok, then please email me cia this form http://extensions.virtuemart.net/vendor/1/contact
I will check why.
Title: Re: UPS Plugin Bug
Post by: alatak on June 07, 2012, 20:06:47 PM
Hi

You can try that also:
Go in the Joomla configuration, enable the Error Reporting to Maximum.
Check if any error or warning is displayed. If this one is displayed

Warning: curl_exec() has been disabled for security reasons in /xxx/yyy/vhosts/mywebsite/plugins/vmshipment/istraxx_ups/istraxx_ups.php on line 868

Then you must contact your hoster to enable that function.
Title: Re: UPS Plugin Bug
Post by: MickeyBlueEyes on July 25, 2012, 01:23:28 AM
I got the same issue, so I've opened the paypal dispute, i hope this will get their attention.
Title: Re: UPS Plugin Bug
Post by: Milbo on July 25, 2012, 10:16:24 AM
Quote from: MickeyBlueEyes on July 25, 2012, 01:23:28 AM
I got the same issue, so I've opened the paypal dispute, i hope this will get their attention.

LoL, the best method to get support. Before you even ask for support, you directly activate a conflict with paypal. This is like coming into a store, instead of communication, directly with the lawyer. The plugin works for more than 200 people. It is almost 100% a configuration issue and not a bug.

Btw, the message "We are sorry, no shipment method matches the characteristics of your order." is a vm2 core message.

and the "problem" is also in USPS http://forum.virtuemart.net/index.php?topic=105180.0 .

The reason is that this plugins create the themself dynamically the rates, so a misconfiguration of these plugins, does not return any shipment rate and therefore this message comes up.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 25, 2012, 15:18:09 PM
I'm trying to ship from US to US, we have API key, chosen product has weight (Product Weight    20.3000    GR   ), shipping address is valid. I attached pictures with settings.
Joomla is 2.5.6, Virtuemart is 2.0.8e, CURL is enabled and I've tried every possible setting, all I'm getting is "We are sorry, no shipment method matches the characteristics of your order."

Please help, whats wrong here?

[attachment cleanup by admin]
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: Milbo on July 25, 2012, 16:24:54 PM
Quote from: mspot on June 07, 2012, 16:25:43 PM
Yes, I believe it was becuase my UPS API wasn't in production mode.  It now is, and it shows up, however, I still get the

I think that is the answer
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 26, 2012, 02:36:08 AM
only ground freight is in test mode, shipping package is in production mode, as far as i can see from the attached picture.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: Milbo on July 26, 2012, 17:05:16 PM
oh, I am sorry, I just saw that and thought that is the reason.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: alatak on July 29, 2012, 13:49:20 PM
Hello,

The UPS plugin ask for rates to UPS. UPS returns all services available and the associated rate from one location to a destination. Not all services are returned.
One way of finding out which rates are returned is to turn on the debug option in VirtueMart.
All services returned by UPS will be displayed, and you can then compare with the ones you have selected.

If the ones you have selected are not returned, then the plugin will return "no shipment found".

Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 29, 2012, 19:37:04 PM
After enabling Virtuemart debug option, this is what i get

[attachment cleanup by admin]
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: alatak on July 30, 2012, 09:29:58 AM
Hello

It means that the from your shipping place to the destination, for your cart weigth, UPS returns the following delivery services


And in your configuration you have selected the following services:
And they are not in the list of the returned delivery services by UPS.
That is the reason why no shipment are listed.

To select the correct services, you can read this document:
http://www.ups.com/media/en/standard_list_rates.pdf

The section "choosing a Service" will help you to choose the correct service for you.

You can also have a look at this page:
http://www.ups.com/content/us/en/shipping/time/service/index.html?WT.svl=SubNav

If you click on the International tab, you will see that UPS standard is only for international deliveries.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: alatak on July 30, 2012, 13:56:46 PM
Hello,

I have updated the tutorial (http://extensions.virtuemart.net/all-tutorials/8-shipment/5-ups-shipment-plugin)
I hope those informations will help everybody to configure the UPS shipment.
Please note that the informations that are displayed when you are logged as vendor are only available from the version 1.9 of the plugin. You can get the latest version via this link: http://extensions.virtuemart.net/my-orders
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 30, 2012, 16:05:47 PM
I think I'm blind. This is all I see there, There is nothing else to choose from. Why don't you log in with given username and password and see for your self

[attachment cleanup by admin]
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: alatak on July 30, 2012, 16:12:39 PM
Hello,
QuoteI think I'm blind. This is all I see there and choose from
lol... i hope not :)

I can see that the country in the shipment configuration is United states.
but what is the country of your shop?
Go in Shop>Shop, and "Additional Information" tab

Because you should have a lot more choices.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 30, 2012, 16:50:51 PM
LOL I'm not blind anymore. I just filled up those fields and now i have all the choices. Thanks
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 30, 2012, 18:53:09 PM
It is working now, but only if i have weight more than 0.1 pound/kilogram, anything less throws an error

So a tweek would be nice, if the total weight is less then 0.1lb then just adjust the weight to min acceptable value.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 30, 2012, 19:26:47 PM
I'm trying to add 0.1 lb (which is arround 50 gramm - any package material will have that weight) just to meet the minimum weight required by UPS which is 0.1 LB/KG
Problem is that our products mostly have weight 10-20 gramms, so they not meet the min weight required by UPS



   /**
    * Get the total weight for the order, based on which the proper shipping rate
    * can be selected.
    *
    * @param object $cart Cart object
    * @return float Total weight for the order
    */
   protected function getOrderWeight (VirtueMartCart $cart, $to_weight_unit) {

      $weight = 0;
      $to_weight_unit = substr ($to_weight_unit, 0, 2);
      foreach ($cart->products as $product) {
         $weight += (ShopFunctions::convertWeigthUnit ($product->product_weight, $product->product_weight_uom, $to_weight_unit) * $product->quantity);
      }
      return $weight;
   }


so instead of  $weight = 0;   it would be    $weight = 0.1;

but there is no luck with this change
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: alatak on July 31, 2012, 10:10:29 AM
Hello,

I have tested also. The request is sending the correct value, but UPS returns "Info : Packages must weigh more than zero pounds."
I do not see in the documentation where the minimum weigth value is.
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: alatak on July 31, 2012, 10:16:54 AM
Hello,

ok i understood: 20 grams = 0.04 LBS,
and the weight is sent to UPS with one decimal, so 0 LBS is sent.
I have fixed that for the version 1.10.

The fix is  not done in that function getOrderWeight(), but before sending the request to UPS.
Txs MickeyBlueEyes
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: MickeyBlueEyes on July 31, 2012, 19:27:25 PM
Thanks for helping me out :-)
Title: Re: UPS Plugin configuration problem "We are sorry, no shipment method matches ..."
Post by: elijahweb on August 21, 2012, 05:28:36 AM
Well here I go... gonna download the plugin... hope I have a more simple experience.... ;)