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

Postback does not include tracking number

$
0
0
I'm moving a client from the shiprush desktop version to the web version for a custom shopping cart. I'm trying to implement the javascript TRequest type of code as outlined in this article https://my.shiprush.com/static.shipr...uest-demo.html

The javascript that I'm using is this:
Code:

        $("#shiplink").click(function () {

            var shipTransactionXML = '<?xml version="1.0"?><Request><ShipTransaction><Shipment><UPSServiceType>03</UPSServiceType><DeliveryAddress><Address><FirstName>John Doe</FirstName><Company>Web Development</Company><Address1>123 Main St.</Address1><Address2></Address2><City>Anytown</City><State>CA</State><PostalCode>90210</PostalCode><Country>US</Country><Phone>1231231234</Phone></Address></DeliveryAddress><PostbackUrl>https://www.ourwebsite.com/postbackurl.aspx?otype=0&amp;oid=80702&amp;sid=162367&amp;rid=0</PostbackUrl><PostbackContentType>TRequest</PostbackContentType><Package><PackageReference1>Ord#80702</PackageReference1><PackageReference2></PackageReference2></Package></Shipment></ShipTransaction></Request>'

            shipRushClient.Open(
            {
                ShipTransactionRequest: shipTransactionXML,
                OpenInNewWindow: true,
                OnShipmentCompleted: function (data) {
                    return true;
                }
            });
        });

The domain in the postback url has been changed for privacy.
I get the postback and the querystring is intact with what was passed to ShipRush but there are no forms values being sent. I have a data logger setup on the postback url that logs all querystring and form values. The desktop version worked fine and and would postback the tracking number among other values.

Any idea what the problem is?

Viewing all articles
Browse latest Browse all 1680

Trending Articles



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