• Resolved cosbe

    (@becosfx)


    Why is this happening all the time? It drives me nuts. Basically I need to verify once a day to see if the connection is still there… just to find out that is not:

    250002: Invalid Authentication Information

    I don’t understand why this keeps breaking. Then I need to revoke it, turn off the firewall, and clean Chrome cache to the bone, only to be able to reestablish it again… until the very next day.

    What is going on?!

Viewing 15 replies - 31 through 45 (of 56 total)
  • Thread Starter cosbe

    (@becosfx)

    This must be the most fragile API connection I have ever encounter. Can’t wait to have the legacy UPS plugin updated, which they say it will be revamped very soon. I am so tired of this…

    Plugin Author grola

    (@grola)

    @becosfx still this only happens when the object cache is active?
    I understand that after the correction you do not need to authorize again and you only need to refresh the settings page for the connection status to show OK?

    Thread Starter cosbe

    (@becosfx)

    YES, to both questions.

    Thread Starter cosbe

    (@becosfx)

    yeah, is mostly disconnected, most of the time… this is really upsetting.

    Plugin Author grola

    (@grola)

    If everything works correctly when the object cache is disabled, it may mean that the token returned by the cache differs from the token stored in the database.

    We do not reproduce this issue in our test environment. If it was possible, please prepare a staging installation on which we could maintain administrative access to check what the problem is.

    Thread Starter cosbe

    (@becosfx)

    I am not sure if object cache is the problem, but surely if I disable LSCache plugin altogether I don’t encounter this issue. Unfortunately I don’t have time to set up a website for debugging this. Maybe you should find different ways to store information needed by your plugin, that are not so fragile. Otherwise is easy to say: is not happening for me, so the problem doesn’t exist. As you could see, others are encountering the same issue.

    Thread Starter cosbe

    (@becosfx)

    250002: Invalid Authentication Information

    No longer refresh to OK. I hate this plugin.

    Plugin Author grola

    (@grola)

    We have just released version 2.2.3 which may resolve object cache issues. Please update. After updating, please re-authorize the API connection.

    Thread Starter cosbe

    (@becosfx)

    Installed. Monitoring. Thank you for trying to fix this. I hope this update does.

    Thread Starter cosbe

    (@becosfx)

    Connection survives the night, but now USA addresses don’t get any UPS rates in Cart… this is odd. I am checking for other countries. The debug shows like something is returning from the API. Some other countries do return rates though!… Cache cleared, tested by users from USA as well. The debug shows this:

    {
        "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": "xwssoas26360RDw0zwzLCR"
                }
            },
            "RatedShipment": [
                {
                    "Service": {
                        "Code": "07",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "KGS",
                            "Description": "Kilograms"
                        },
                        "Weight": "0.5"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "94.40"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "72.16"
                    },
                    "ItemizedCharges": [
                        {
                            "Code": "375",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "22.06"
                        },
                        {
                            "Code": "430",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "0.18",
                            "SubType": "Commercial_Seasonal_Surcharge"
                        }
                    ],
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "94.40"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "22.08"
                        },
                        "ItemizedCharges": [
                            {
                                "Code": "375",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "6.79"
                            },
                            {
                                "Code": "430",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.18",
                                "SubType": "Commercial_Seasonal_Surcharge"
                            }
                        ],
                        "TotalCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "29.05"
                        }
                    },
                    "RatedPackage": {
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            }
                        },
                        "Weight": "0.5"
                    }
                },
                {
                    "Service": {
                        "Code": "08",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "KGS",
                            "Description": "Kilograms"
                        },
                        "Weight": "0.5"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "81.56"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "62.32"
                    },
                    "ItemizedCharges": [
                        {
                            "Code": "375",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "19.06"
                        },
                        {
                            "Code": "430",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "0.18",
                            "SubType": "Commercial_Seasonal_Surcharge"
                        }
                    ],
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "81.56"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "19.94"
                        },
                        "ItemizedCharges": [
                            {
                                "Code": "375",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "6.14"
                            },
                            {
                                "Code": "430",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.18",
                                "SubType": "Commercial_Seasonal_Surcharge"
                            }
                        ],
                        "TotalCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "26.26"
                        }
                    },
                    "RatedPackage": {
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            }
                        },
                        "Weight": "0.5"
                    }
                },
                {
                    "Service": {
                        "Code": "54",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "KGS",
                            "Description": "Kilograms"
                        },
                        "Weight": "0.5"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "141.46"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "108.22"
                    },
                    "ItemizedCharges": [
                        {
                            "Code": "375",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "33.06"
                        },
                        {
                            "Code": "430",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "0.18",
                            "SubType": "Commercial_Seasonal_Surcharge"
                        }
                    ],
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "141.46"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "59.15"
                        },
                        "ItemizedCharges": [
                            {
                                "Code": "375",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "18.09"
                            },
                            {
                                "Code": "430",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.18",
                                "SubType": "Commercial_Seasonal_Surcharge"
                            }
                        ],
                        "TotalCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "77.42"
                        }
                    },
                    "RatedPackage": {
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            }
                        },
                        "Weight": "0.5"
                    }
                },
                {
                    "Service": {
                        "Code": "65",
                        "Description": ""
                    },
                    "RatedShipmentAlert": {
                        "Code": "110971",
                        "Description": "Your invoice may vary from the displayed reference rates"
                    },
                    "BillingWeight": {
                        "UnitOfMeasurement": {
                            "Code": "KGS",
                            "Description": "Kilograms"
                        },
                        "Weight": "0.5"
                    },
                    "TransportationCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "84.09"
                    },
                    "BaseServiceCharge": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "64.26"
                    },
                    "ItemizedCharges": [
                        {
                            "Code": "375",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "19.65"
                        },
                        {
                            "Code": "430",
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "0.18",
                            "SubType": "Commercial_Seasonal_Surcharge"
                        }
                    ],
                    "ServiceOptionsCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "0.00"
                    },
                    "TotalCharges": {
                        "CurrencyCode": "EUR",
                        "MonetaryValue": "84.09"
                    },
                    "NegotiatedRateCharges": {
                        "BaseServiceCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "19.67"
                        },
                        "ItemizedCharges": [
                            {
                                "Code": "375",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "6.05"
                            },
                            {
                                "Code": "430",
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.18",
                                "SubType": "Commercial_Seasonal_Surcharge"
                            }
                        ],
                        "TotalCharge": {
                            "CurrencyCode": "EUR",
                            "MonetaryValue": "25.90"
                        }
                    },
                    "RatedPackage": {
                        "NegotiatedCharges": {
                            "BaseServiceCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TransportationCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "ServiceOptionsCharges": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            },
                            "TotalCharge": {
                                "CurrencyCode": "EUR",
                                "MonetaryValue": "0.00"
                            }
                        },
                        "Weight": "0.5"
                    }
                }
            ]
        }
    } 

    You have my email address in the tickets, use the domain and test for yourself.

    Thread Starter cosbe

    (@becosfx)

    If I didn’t have an alternative shipping method I couldn’t have done business with this plugin as it prevents from getting orders “while sleeping”.

    Plugin Author grola

    (@grola)

    1. Have you enabled custom services and selected specific services?
    2. You can use fallback rate when API does not return any services or returned services are disabled in custom services.

    Please see our plugin documentation:
    https://octolize.com/docs/article/ups-ups-live-rates-shipping-method-configuration/

    • This reply was modified 8 months, 3 weeks ago by grola.
    Thread Starter cosbe

    (@becosfx)

    1. Yes, I enabled only services which I have negotiated rates for.
    2. No, I cannot use fall back (one single rate) when I ship internationally and the cost vary so much. Basically this is an option only for those who ship within their country, as they can average a rate. It is not a feature that is helpful for international shipping. And no, I cannot have a zone for every country in the world, to average for that country. It would just complicate the administration of this service.

    Anyways, why the rates are not showing for USA, but they do for other countries? Moreover, why this happens if the API sends the rates to the shop?!

    Thread Starter cosbe

    (@becosfx)

    The USA rates were showing a few days ago. Not now. Maybe because of this last update? What do I do now?

    Plugin Author grola

    (@grola)

    API returns services: 07, 08, 54, 65. Do you have these services enabled?

Viewing 15 replies - 31 through 45 (of 56 total)
  • You must be logged in to reply to this topic.