Untitled Document
Results 1 to 7 of 7

Thread: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.

  1. #1
    When using the Web Shipping Javascript SDK the Ship Rush initial screen displays fine. If you press the Settings button (lower left) the page with display refused to connect:
    Name:  Capture2.PNG
Views: 58
Size:  3.7 KB

    If you right mouse click and select a new tab then it will display.

    This does not occur if you go to ShipRush directly (without the SDK). What has changed recently (the last two weeks) to cause this to stop working?

    I have a couple of upset customers since ShipRush support is pointing fingers at my customization. I have no control over this behavior and my product hasn't changed since Jan. 2018.

  2. #2

    Join Date
    Apr 2004
    Posts
    16,764
    SYSOPS is offline
    Morning,
    Can you send me your code that you use for the button? It would appear that there might be something in the code that is calling out the sandbox environment. You can send to support at shiprush dot com

    Thank you,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

  3. #3
    My code. This is ShipRush's page, not mine.

    Name:  Capture3.PNG
Views: 13
Size:  113.8 KB

  4. #4

    Join Date
    Apr 2004
    Posts
    16,764
    SYSOPS is offline
    OK...you said you're using the js....so are you using the js to call up the Shipping screen you provided above......or using the js in some other method?

    And, your customers are on our production environment, correct? Just want to make sure I'm following properly

    Thank you,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

  5. #5
    Calling based upon your SDK: https://my.shiprush.com/pages.aspx?a...apiBBL-PRIVATE

    Both Sandbox and Production have this issue.

    Called using my code:
    shipRushClient.Open(
    {
    IsSandbox: true,
    Shipment: shipment,
    UIFeatures: {
    HideNavigation: false,HideBackButton: false,WhiteBackground: false,Hide_LeftPanel_Folders: false,Hide_LeftPanel_Settings: false,Hide_LeftPanel_Signout: false,Hide_LeftPanel_Help: false,Hide_RightPanel_Presets: false,Hide_RightPanel_AutomationRules: false,Hide_RightPanel_More: false,Hide_RightPanel_AddressCheck: false,Hide_RightPanel_PostageBalance: false,Hide_RightPanel_Void: false,Hide_RightPanel_PackingList: false,Hide_RightPanel_Rate: false,Hide_RightPanel_NewShipment: false,
    },
    OnShipmentCompleted: function (data) {
    $('#ShipDate').val(data.Shipment.ShipDate);
    $('#TrackingNumber').val(data.Shipment.TrackingNum ber);
    $('#ShipmentId').val(data.Shipment.ShipmentId);
    $('#Company').val(data.Shipment.ShipTo.Company);
    $('#Name').val(data.Shipment.ShipTo.Name);
    $('#Address1').val(data.Shipment.ShipTo.Address1);
    $('#Address2').val(data.Shipment.ShipTo.Address2);
    $('#City').val(data.Shipment.ShipTo.City);
    $('#State').val(data.Shipment.ShipTo.State);
    $('#PostalCode').val(data.Shipment.ShipTo.PostalCo de);
    $('#Country').val(data.Shipment.ShipTo.Country);
    $('#Phone').val(data.Shipment.ShipTo.Phone);
    $('#CarrierTypeName').val(data.Shipment.CarrierTyp eName);
    $('#ServiceTypeName').val(data.Shipment.ServiceTyp eName);
    // Return "true" to close shipping form
    $('#ShippingComplete').val('completed');

    SaveShipping(data.Shipment);
    // alert("SHIPPED");
    return true;
    },
    OnClose: function () {
    // alert("CLOSE");
    return true;
    },
    OnAction: function (event_name, data) {
    //if (event_name == "save") {
    // $('#ShipDate').val(data.Shipment.ShipDate);
    // $('#TrackingNumber').val(data.Shipment.TrackingNum ber);
    // $('#ShipmentId').val(data.Shipment.ShipmentId);
    // $('#Company').val(data.Shipment.ShipTo.Company);
    // $('#Name').val(data.Shipment.ShipTo.Name);
    // $('#Address1').val(data.Shipment.ShipTo.Address1);
    // $('#Address2').val(data.Shipment.ShipTo.Address2);
    // $('#City').val(data.Shipment.ShipTo.City);
    // $('#State').val(data.Shipment.ShipTo.State);
    // $('#PostalCode').val(data.Shipment.ShipTo.PostalCo de);
    // $('#Country').val(data.Shipment.ShipTo.Country);
    // $('#Phone').val(data.Shipment.ShipTo.Phone);
    // $('#CarrierTypeName').val(data.Shipment.CarrierTyp eName);
    // $('#ServiceTypeName').val(data.Shipment.ServiceTyp eName);
    // // Return "true" to close shipping form
    // $('#ShippingComplete').val('saved');

    // SaveShipping(data.Shipment);
    // return true;
    //}
    // alert("EVENT: " + event_name + ", SHIPMENTID: " + data.Shipment.ShipmentId);
    // Handle void here.
    },

    });

  6. #6

    Join Date
    Apr 2004
    Posts
    16,764
    SYSOPS is offline
    Interesting. I see it from sandbox, but cannot replicate from production. We will review further and see if we can replicate on production as well. Case 74265. If we have any additional questions, we will follow up with you here.

    Thank you,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

  7. #7

    Join Date
    Apr 2004
    Posts
    16,764
    SYSOPS is offline
    We enhanced the code for the issue we saw in sandbox. Please let us know if issue persists in sandbox or production now.

    Thank you,
    SYSOPS
    Have Questions? Ask the ShipRush Knowledge Base: https://shiprush.com/kbase
    Reply With Quote

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •