I am trying to setup shipping method and carrier shipment method so we can
get Shipping estimates for International locations (From US to Canada). The target shipper is UPS. Any Ideas on how we can do this. listed below is relevant data <ShipmentMethodType description="Express Saver" shipmentMethodTypeId="EXPRESS"/> <ShipmentMethodType description="Worldwide Expedited" shipmentMethodTypeId="WW_EXPEDITED"/> <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" shipmentMethodTypeId="WW_EXPEDITED" sequenceNumber="11" carrierServiceCode="08"/> <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="3" carrierServiceCode="65"/> <ProductStoreShipmentMeth productStoreId="9000" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="WW_EXPEDITED" serviceName="upsRateEstimate" sequenceNumber="11"/> <ProductStoreShipmentMeth productStoreId="9000" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" serviceName="upsRateEstimate" sequenceNumber="3"/> Regards Anil Patel |
So, what is the problem you're running into with this? -David On Jan 25, 2007, at 1:14 AM, Anil Patel wrote: > I am trying to setup shipping method and carrier shipment method so > we can > get Shipping estimates for International locations (From US to > Canada). The > target shipper is UPS. > > Any Ideas on how we can do this. listed below is relevant data > > <ShipmentMethodType description="Express Saver" > shipmentMethodTypeId="EXPRESS"/> > <ShipmentMethodType description="Worldwide Expedited" > shipmentMethodTypeId="WW_EXPEDITED"/> > > <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" > shipmentMethodTypeId="WW_EXPEDITED" sequenceNumber="11" > carrierServiceCode="08"/> > <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" > shipmentMethodTypeId="EXPRESS" sequenceNumber="3" > carrierServiceCode="65"/> > > <ProductStoreShipmentMeth productStoreId="9000" partyId="UPS" > includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" > roleTypeId="CARRIER" shipmentMethodTypeId="WW_EXPEDITED" > serviceName="upsRateEstimate" sequenceNumber="11"/> > <ProductStoreShipmentMeth productStoreId="9000" partyId="UPS" > includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" > roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" > serviceName="upsRateEstimate" sequenceNumber="3"/> > > Regards > Anil Patel smime.p7s (3K) Download Attachment |
David,
I am getting following error. 2007-01-25 10:11:58,953 (http-0.0.0.0-8080-Processor4) [ UtilXml.java:243:DEBUG] XML Read 0.016s: Internal Content 2007-01-25 10:11:58,953 (http-0.0.0.0-8080-Processor4) [ ServiceDispatcher.java:415:ERROR] Service Error [upsRateEstimateByPostalCode]: An error occurred [code:111210] with severity Hard: The requested service is unavailable between the selected locations.. , Error status code : 0 Then I added country code in the shipping estimate request. UtilXml.addChildElementValue(shiptoAddrElement, "CountryCode", "CA", rateRequestDoc); Good news it worked. So I think I will be send a patch to modify service so we can take optional CountryCode parameter also. Please let me know if I am missing something here. Regards Anil Patel On 1/25/07, David E. Jones <[hidden email]> wrote: > > > So, what is the problem you're running into with this? > > -David > > > On Jan 25, 2007, at 1:14 AM, Anil Patel wrote: > > > I am trying to setup shipping method and carrier shipment method so > > we can > > get Shipping estimates for International locations (From US to > > Canada). The > > target shipper is UPS. > > > > Any Ideas on how we can do this. listed below is relevant data > > > > <ShipmentMethodType description="Express Saver" > > shipmentMethodTypeId="EXPRESS"/> > > <ShipmentMethodType description="Worldwide Expedited" > > shipmentMethodTypeId="WW_EXPEDITED"/> > > > > <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" > > shipmentMethodTypeId="WW_EXPEDITED" sequenceNumber="11" > > carrierServiceCode="08"/> > > <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" > > shipmentMethodTypeId="EXPRESS" sequenceNumber="3" > > carrierServiceCode="65"/> > > > > <ProductStoreShipmentMeth productStoreId="9000" partyId="UPS" > > includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" > > roleTypeId="CARRIER" shipmentMethodTypeId="WW_EXPEDITED" > > serviceName="upsRateEstimate" sequenceNumber="11"/> > > <ProductStoreShipmentMeth productStoreId="9000" partyId="UPS" > > includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" > > roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" > > serviceName="upsRateEstimate" sequenceNumber="3"/> > > > > Regards > > Anil Patel > > > > |
Free forum by Nabble | Edit this page |