• Resolved prunly

    (@prunly)


    Hello and thank you for the simple and useful free UPS plugin.

    I am being proactive and trying to upgrade my clients from API Access Key – XML API to the new OAuth method well ahead of the June switchover.

    However, upon testing, I noticed that the rates returned by OAuth are higher than those that were returned by the API previously. One package under the API was $16.23 and now the same package is $20.21.

    My client has negotiated rates and I have ensured that this setting is checked in the Shipping Zone settings. When I tested in my client’s account on the UPS website, the rate came back the same as the old API at $16.23.

    Any idea what the issue might be? Thank you for your help!

    • This topic was modified 1 year, 2 months ago by prunly.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author grola

    (@grola)

    Hi,

    please enable debug mode and paste the API request and API response here.

    Best regards
    Grzegorz

    Thread Starter prunly

    (@prunly)

    Hi Grzegorz,

    Below is the XML API request/response, followed by the corresponding OAuth request/response. We are only using Ground method.

    <?xml version="1.0"?>
    <RatingServiceSelectionRequest xml:lang="en-US">
      <Request>
        <TransactionReference/>
        <RequestAction>Rate</RequestAction>
        <RequestOption>Shop</RequestOption>
      </Request>
      <PickupType>
        <Code>01</Code>
        <Description/>
      </PickupType>
      <Shipment>
        <Service>
          <Code/>
          <Description/>
        </Service>
        <Shipper>
          <ShipperNumber>3W438F</ShipperNumber>
          <Address>
            <AddressLine1>874 Main Street</AddressLine1>
            <City>Osterville</City>
            <StateProvinceCode>MA</StateProvinceCode>
            <PostalCode>02655</PostalCode>
            <CountryCode>US</CountryCode>
          </Address>
        </Shipper>
        <ShipFrom>
          <Address>
            <AddressLine1>874 Main Street</AddressLine1>
            <City>Osterville</City>
            <StateProvinceCode>MA</StateProvinceCode>
            <PostalCode>02655</PostalCode>
            <CountryCode>US</CountryCode>
          </Address>
        </ShipFrom>
        <ShipTo>
          <Name/>
          <CompanyName/>
          <AttentionName/>
          <Address>
            <AddressLine1>2707 San Luis Ct</AddressLine1>
            <City>Naperville</City>
            <StateProvinceCode>IL</StateProvinceCode>
            <PostalCode>60565</PostalCode>
            <CountryCode>US</CountryCode>
          </Address>
        </ShipTo>
        <RateInformation>
          <NegotiatedRatesIndicator/>
        </RateInformation>
        <Package>
          <PackagingType>
            <Code>02</Code>
            <Description/>
          </PackagingType>
          <PackageWeight>
            <Weight>11</Weight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
              <Description/>
            </UnitOfMeasurement>
          </PackageWeight>
          <PackageServiceOptions/>
        </Package>
        <ShipmentServiceOptions/>
      </Shipment>
    </RatingServiceSelectionRequest>
    
    
    
    
    
    -----
    
    
    
    
    
    <?xml version="1.0"?>
    <RatingServiceSelectionResponse>
      <Response>
        <ResponseStatusCode>1</ResponseStatusCode>
        <ResponseStatusDescription>Success</ResponseStatusDescription>
      </Response>
      <RatedShipment>
        <Service>
          <Code>01</Code>
        </Service>
        <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
        <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning>
        <BillingWeight>
          <UnitOfMeasurement>
            <Code>LBS</Code>
          </UnitOfMeasurement>
          <Weight>11.0</Weight>
        </BillingWeight>
        <TransportationCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>216.62</MonetaryValue>
        </TransportationCharges>
        <ServiceOptionsCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>0.00</MonetaryValue>
        </ServiceOptionsCharges>
        <TotalCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>216.62</MonetaryValue>
        </TotalCharges>
        <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
        <ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime>
        <RatedPackage>
          <TransportationCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>216.62</MonetaryValue>
          </TransportationCharges>
          <ServiceOptionsCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>0.00</MonetaryValue>
          </ServiceOptionsCharges>
          <TotalCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>216.62</MonetaryValue>
          </TotalCharges>
          <Weight>11.0</Weight>
          <BillingWeight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
            </UnitOfMeasurement>
            <Weight>11.0</Weight>
          </BillingWeight>
        </RatedPackage>
        <NegotiatedRates>
          <NetSummaryCharges>
            <GrandTotal>
              <CurrencyCode>USD</CurrencyCode>
              <MonetaryValue>90.11</MonetaryValue>
            </GrandTotal>
          </NetSummaryCharges>
        </NegotiatedRates>
      </RatedShipment>
      <RatedShipment>
        <Service>
          <Code>02</Code>
        </Service>
        <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
        <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning>
        <BillingWeight>
          <UnitOfMeasurement>
            <Code>LBS</Code>
          </UnitOfMeasurement>
          <Weight>11.0</Weight>
        </BillingWeight>
        <TransportationCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>90.87</MonetaryValue>
        </TransportationCharges>
        <ServiceOptionsCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>0.00</MonetaryValue>
        </ServiceOptionsCharges>
        <TotalCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>90.87</MonetaryValue>
        </TotalCharges>
        <GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery>
        <ScheduledDeliveryTime/>
        <RatedPackage>
          <TransportationCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>90.87</MonetaryValue>
          </TransportationCharges>
          <ServiceOptionsCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>0.00</MonetaryValue>
          </ServiceOptionsCharges>
          <TotalCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>90.87</MonetaryValue>
          </TotalCharges>
          <Weight>11.0</Weight>
          <BillingWeight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
            </UnitOfMeasurement>
            <Weight>11.0</Weight>
          </BillingWeight>
        </RatedPackage>
        <NegotiatedRates>
          <NetSummaryCharges>
            <GrandTotal>
              <CurrencyCode>USD</CurrencyCode>
              <MonetaryValue>44.23</MonetaryValue>
            </GrandTotal>
          </NetSummaryCharges>
        </NegotiatedRates>
      </RatedShipment>
      <RatedShipment>
        <Service>
          <Code>03</Code>
        </Service>
        <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
        <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning>
        <BillingWeight>
          <UnitOfMeasurement>
            <Code>LBS</Code>
          </UnitOfMeasurement>
          <Weight>11.0</Weight>
        </BillingWeight>
        <TransportationCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>26.28</MonetaryValue>
        </TransportationCharges>
        <ServiceOptionsCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>0.00</MonetaryValue>
        </ServiceOptionsCharges>
        <TotalCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>26.28</MonetaryValue>
        </TotalCharges>
        <GuaranteedDaysToDelivery/>
        <ScheduledDeliveryTime/>
        <RatedPackage>
          <TransportationCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>26.28</MonetaryValue>
          </TransportationCharges>
          <ServiceOptionsCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>0.00</MonetaryValue>
          </ServiceOptionsCharges>
          <TotalCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>26.28</MonetaryValue>
          </TotalCharges>
          <Weight>11.0</Weight>
          <BillingWeight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
            </UnitOfMeasurement>
            <Weight>11.0</Weight>
          </BillingWeight>
        </RatedPackage>
        <NegotiatedRates>
          <NetSummaryCharges>
            <GrandTotal>
              <CurrencyCode>USD</CurrencyCode>
              <MonetaryValue>16.23</MonetaryValue>
            </GrandTotal>
          </NetSummaryCharges>
        </NegotiatedRates>
      </RatedShipment>
      <RatedShipment>
        <Service>
          <Code>12</Code>
        </Service>
        <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
        <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning>
        <BillingWeight>
          <UnitOfMeasurement>
            <Code>LBS</Code>
          </UnitOfMeasurement>
          <Weight>11.0</Weight>
        </BillingWeight>
        <TransportationCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>63.60</MonetaryValue>
        </TransportationCharges>
        <ServiceOptionsCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>0.00</MonetaryValue>
        </ServiceOptionsCharges>
        <TotalCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>63.60</MonetaryValue>
        </TotalCharges>
        <GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery>
        <ScheduledDeliveryTime/>
        <RatedPackage>
          <TransportationCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>63.60</MonetaryValue>
          </TransportationCharges>
          <ServiceOptionsCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>0.00</MonetaryValue>
          </ServiceOptionsCharges>
          <TotalCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>63.60</MonetaryValue>
          </TotalCharges>
          <Weight>11.0</Weight>
          <BillingWeight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
            </UnitOfMeasurement>
            <Weight>11.0</Weight>
          </BillingWeight>
        </RatedPackage>
        <NegotiatedRates>
          <NetSummaryCharges>
            <GrandTotal>
              <CurrencyCode>USD</CurrencyCode>
              <MonetaryValue>35.52</MonetaryValue>
            </GrandTotal>
          </NetSummaryCharges>
        </NegotiatedRates>
      </RatedShipment>
      <RatedShipment>
        <Service>
          <Code>13</Code>
        </Service>
        <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
        <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning>
        <BillingWeight>
          <UnitOfMeasurement>
            <Code>LBS</Code>
          </UnitOfMeasurement>
          <Weight>11.0</Weight>
        </BillingWeight>
        <TransportationCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>188.33</MonetaryValue>
        </TransportationCharges>
        <ServiceOptionsCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>0.00</MonetaryValue>
        </ServiceOptionsCharges>
        <TotalCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>188.33</MonetaryValue>
        </TotalCharges>
        <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
        <ScheduledDeliveryTime/>
        <RatedPackage>
          <TransportationCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>188.33</MonetaryValue>
          </TransportationCharges>
          <ServiceOptionsCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>0.00</MonetaryValue>
          </ServiceOptionsCharges>
          <TotalCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>188.33</MonetaryValue>
          </TotalCharges>
          <Weight>11.0</Weight>
          <BillingWeight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
            </UnitOfMeasurement>
            <Weight>11.0</Weight>
          </BillingWeight>
        </RatedPackage>
        <NegotiatedRates>
          <NetSummaryCharges>
            <GrandTotal>
              <CurrencyCode>USD</CurrencyCode>
              <MonetaryValue>78.66</MonetaryValue>
            </GrandTotal>
          </NetSummaryCharges>
        </NegotiatedRates>
      </RatedShipment>
      <RatedShipment>
        <Service>
          <Code>14</Code>
        </Service>
        <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
        <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning>
        <BillingWeight>
          <UnitOfMeasurement>
            <Code>LBS</Code>
          </UnitOfMeasurement>
          <Weight>11.0</Weight>
        </BillingWeight>
        <TransportationCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>252.02</MonetaryValue>
        </TransportationCharges>
        <ServiceOptionsCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>0.00</MonetaryValue>
        </ServiceOptionsCharges>
        <TotalCharges>
          <CurrencyCode>USD</CurrencyCode>
          <MonetaryValue>252.02</MonetaryValue>
        </TotalCharges>
        <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
        <ScheduledDeliveryTime>8:00 A.M.</ScheduledDeliveryTime>
        <RatedPackage>
          <TransportationCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>252.02</MonetaryValue>
          </TransportationCharges>
          <ServiceOptionsCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>0.00</MonetaryValue>
          </ServiceOptionsCharges>
          <TotalCharges>
            <CurrencyCode>USD</CurrencyCode>
            <MonetaryValue>252.02</MonetaryValue>
          </TotalCharges>
          <Weight>11.0</Weight>
          <BillingWeight>
            <UnitOfMeasurement>
              <Code>LBS</Code>
            </UnitOfMeasurement>
            <Weight>11.0</Weight>
          </BillingWeight>
        </RatedPackage>
        <NegotiatedRates>
          <NetSummaryCharges>
            <GrandTotal>
              <CurrencyCode>USD</CurrencyCode>
              <MonetaryValue>250.30</MonetaryValue>
            </GrandTotal>
          </NetSummaryCharges>
        </NegotiatedRates>
      </RatedShipment>
    </RatingServiceSelectionResponse>

    OAuth Request/Response

    OAUTH REQUEST
    
    
    {
        "RateRequest": {
            "PickupType": {
                "Code": "01"
            },
            "Shipment": {
                "Service": [],
                "ShipFrom": {
                    "Address": {
                        "AddressLine1": "874 Main Street",
                        "City": "Osterville",
                        "CountryCode": "US",
                        "PostalCode": "02655",
                        "StateProvinceCode": "MA"
                    }
                },
                "ShipTo": {
                    "Address": {
                        "City": "Naperville",
                        "CountryCode": "US",
                        "PostalCode": "60565",
                        "StateProvinceCode": "IL"
                    }
                },
                "Shipper": {
                    "Address": {
                        "AddressLine1": "874 Main Street",
                        "City": "Osterville",
                        "CountryCode": "US",
                        "PostalCode": "02655",
                        "StateProvinceCode": "MA"
                    },
                    "ShipperNumber": "3W438F"
                },
                "RateInformation": {
                    "NegotiatedRatesIndicator": "1"
                },
                "Package": [
                    {
                        "PackageWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS"
                            },
                            "Weight": "11"
                        },
                        "PackagingType": {
                            "Code": "02"
                        }
                    }
                ]
            }
        }
    } 
    
    
    
    ----
    
    
    
    
    {
        "RateResponse": {
            "Response": {
                "ResponseStatus": {
                    "Code": "1",
                    "Description": "Success"
                },
                "Alert": [
                    {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    }
                ],
                "TransactionReference": {
                    "CustomerContext": "Octolize Plugin",
                    "TransactionIdentifier": "xwssoat269p5jLj54j1nvK"
                }
            },
            "RatedShipment": [
                {
                    "Service": {
                        "Code": "01",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "209.72"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "209.72"
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "1",
                        "DeliveryByTime": "10:30 A.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "209.72"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "177.73"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "31.99"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "209.72"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "02",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "83.97"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "83.97"
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "2"
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "83.97"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "71.16"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "12.81"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "83.97"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "03",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "20.21"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "20.21"
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "20.21"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "17.50"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "2.71"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "20.21"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "12",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "56.70"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "56.70"
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "3"
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "56.70"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "48.05"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "8.65"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "56.70"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "13",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "181.43"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "181.43"
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "1",
                        "DeliveryByTime": "3:00 P.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "181.43"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "153.75"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "27.68"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "181.43"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "14",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "245.12"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "245.12"
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "1",
                        "DeliveryByTime": "8:00 A.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "245.12"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "207.73"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "37.39"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "245.12"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "59",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "92.95"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "92.95"
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "2",
                        "DeliveryByTime": "10:30 A.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "92.95"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "78.77"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "14.18"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "92.95"
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                }
            ]
        }
    } 

    Thank you for looking into this!

    Plugin Author grola

    (@grola)

    Thank you, we are checking it.

    Plugin Author grola

    (@grola)

    We have just released a new version of the plugin (2.0.9). Please update and let us know if the issue has been resolved.

    Thread Starter prunly

    (@prunly)

    Thank you for the update.

    We have run the updates, cleared cache, and reauthorized via OAuth but unfortunately the rate is still inflated. Today it is $20.26.

    When calculating a quote on the UPS website while logged in with negotiated rates it comes back as $16.26. The same rate is returned when querying with the old XML API.

    Here is the new OAuth request after the update:

    {
        "RateRequest": {
            "PickupType": {
                "Code": "01"
            },
            "Shipment": {
                "Service": [],
                "ShipFrom": {
                    "Address": {
                        "AddressLine1": "874 Main Street",
                        "City": "Osterville",
                        "CountryCode": "US",
                        "PostalCode": "02655",
                        "StateProvinceCode": "MA"
                    }
                },
                "ShipTo": {
                    "Address": {
                        "AddressLine1": "2707 San Luis Ct",
                        "City": "Naperville",
                        "CountryCode": "US",
                        "PostalCode": "60565",
                        "StateProvinceCode": "IL"
                    }
                },
                "Shipper": {
                    "Address": {
                        "AddressLine1": "874 Main Street",
                        "City": "Osterville",
                        "CountryCode": "US",
                        "PostalCode": "02655",
                        "StateProvinceCode": "MA"
                    },
                    "ShipperNumber": "3W438F"
                },
                "RateInformation": [],
                "Package": [
                    {
                        "PackageWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS"
                            },
                            "Weight": "11"
                        },
                        "PackagingType": {
                            "Code": "02"
                        }
                    }
                ],
                "ShipmentRatingOptions": {
                    "NegotiatedRatesIndicator": "1"
                }
            }
        }
    } 

    And the corresponding response:

    {
        "RateResponse": {
            "Response": {
                "ResponseStatus": {
                    "Code": "1",
                    "Description": "Success"
                },
                "Alert": [
                    {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    }
                ],
                "TransactionReference": {
                    "CustomerContext": "Octolize Plugin",
                    "TransactionIdentifier": "xwssoas279t60yZpJKtDhf"
                }
            },
            "RatedShipment": [
                {
                    "Service": {
                        "Code": "01",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "211.05"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "211.05"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "85.47"
                        }
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "1",
                        "DeliveryByTime": "10:30 A.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "211.05"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "177.73"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "33.32"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "211.05"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "71.98"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "85.47"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "85.47"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "13.49"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "02",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "84.50"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "84.50"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "39.29"
                        }
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "2"
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "84.50"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "71.16"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "13.34"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "84.50"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "33.09"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "39.29"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "39.29"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "6.20"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "03",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "20.26"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "20.26"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "12.35"
                        }
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "20.26"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "17.50"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "2.76"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "20.26"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "10.67"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "12.35"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "12.35"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "1.68"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "12",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "57.06"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "57.06"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "30.53"
                        }
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "3"
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "57.06"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "48.05"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "9.01"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "57.06"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "25.71"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "30.53"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "30.53"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "4.82"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "13",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "182.58"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "182.58"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "73.95"
                        }
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "1",
                        "DeliveryByTime": "3:00 P.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "182.58"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "153.75"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "28.83"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "182.58"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "62.27"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "73.95"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "73.95"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "11.68"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "14",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "246.68"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "246.68"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "246.68"
                        }
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "1",
                        "DeliveryByTime": "8:00 A.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "246.68"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "207.73"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "38.95"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "246.68"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "207.73"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "246.68"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "246.68"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "38.95"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                },
                {
                    "Service": {
                        "Code": "59",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "LBS",
                            "Description": "Pounds"
                        },
                        "Weight": "11.0"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "93.54"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "USD",
                        "MonetaryValue": "93.54"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "TotalCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "43.50"
                        }
                    },
                    "GuaranteedDelivery": {
                        "BusinessDaysInTransit": "2",
                        "DeliveryByTime": "10:30 A.M."
                    },
                    "RatedPackage": {
                        "TransportationCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "93.54"
                        },
                        "BaseServiceCharge": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "78.77"
                        },
                        "ServiceOptionsCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "0.00"
                        },
                        "ItemizedCharges": {
                            "Code": "375",
                            "CurrencyCode": "USD",
                            "MonetaryValue": "14.77"
                        },
                        "TotalCharges": {
                            "CurrencyCode": "USD",
                            "MonetaryValue": "93.54"
                        },
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "36.63"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "43.50"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "USD",
                                "MonetaryValue": "43.50"
                            },
                            "ItemizedCharges": {
                                "Code": "375",
                                "CurrencyCode": "USD",
                                "MonetaryValue": "6.87"
                            }
                        },
                        "Weight": "11.0",
                        "BillingWeight": {
                            "UnitOfMeasurement": {
                                "Code": "LBS",
                                "Description": "Pounds"
                            },
                            "Weight": "11.0"
                        }
                    }
                }
            ]
        }
    } 
    Plugin Author grola

    (@grola)

    Thank you for your API request and response.
    Negotiated rates are now visible in the response, but the plugin has not yet included them. We will fix this in the next version.
    However, in the REST API, the value of the negotiated rate is USD 12.35.

    Thread Starter prunly

    (@prunly)

    OK, thanks Grzegorz. Yes, I see this new negotiated rate of $12.35 in the API Response which is unexpectedly low as you pointed out.

    When I get a standard non-negotiated quote from the UPS website (without logging in) the rate comes back at $23.49.

    We will await the plugin update and if we can provide any further details just let me know. We are working on a staging site for now.

    Plugin Author grola

    (@grola)

    We have just released version 2.0.10. If this does not work, please contact our support (https://octolize.com/support/ Pre-sale question) and we will set up a test installation to resolve this issue.

    Thread Starter prunly

    (@prunly)

    Hello again and thanks for the update and great support.

    I am seeing the negotiated rates coming through now. I ran a few different tests and the rates are pretty accurate for heavier shipments (15lbs+) and for smaller shipments to certain states.

    However, there is still a large disparity ($5) on some shipments when I compare what the OAuth API returns now and what the XML API returned previously. Ultimately I think this is something I need to bring up with UPS as there could be a flag on the account.

    Thank you for all your help and I will be sure to open a ticket on your website if I need assistance with this matter any further.

    Thread Starter prunly

    (@prunly)

    Hi again,

    We figured out the issue. The addresses we tested that had the $5 discrepancy were quoted as Residential on UPS, whereas your free plugin always sends a Business request, correct?

    This leads us to a couple of follow up questions:

    1. Does the pro plugin automatically detect which addresses are residential vs business in the REST API?
    2. How come the XML API rates were always correct? Was the business/residential functionality included in the free plugin prior to the OAuth upgrade?

    Thank you for all your help.

    Plugin Support Piotrek Bodera

    (@nerdontour)

    Hi @prunly,

    Our team just emailed you regarding the PRO plugin update, where all the mentioned issues are addressed. Since this forum is only for our free UPS plugin, let’s continue our conversation over email.

    Kind regards,

    Piotrek

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘New OAuth rates do not match API rates’ is closed to new replies.