Quantcast
Channel: ShipRush Support Forums
Viewing all articles
Browse latest Browse all 1680

Testing Shiprush web shipping confirmation--without actually shipping?

$
0
0
Hello, I'm using the javascript web drop in to develop an application for my company.

What we want to be able to do is POST back the shipping ID (and if possible, the shipping label) back to our own CRM. It's clear that the API supports getting the Tracking Number back--roughly I want to do something like this:

Code:

  shipRushClient.Open(
    {
        Shipment: shipment,
        OnShipmentCompleted: function (data) {
            //POST Shipment.TrackingNumber back to server

            // Return "true" to close shipping form
            return true;
        }
    });

This is well and great. But is there a way to test to make sure this code actually works, besides creating a shipment and, you know... actually shipping it? Is there a "mock shipment" option that could return a mock tracking id, that I could use to use to verify this API actually works and interacts with my code the way I'd like, before pushing this out into production?

Viewing all articles
Browse latest Browse all 1680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>