1 Attachment(s)
Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
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:
Attachment 2408
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.
Re: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
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
1 Attachment(s)
Re: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
My code. This is ShipRush's page, not mine.
Attachment 2409
Re: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
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
Re: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
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.
},
});
Re: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
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
Re: Using Web Shipping Javascript SDK by ShipRush recently not behaving with buttons.
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