Esempio n. 1
0
        public string SubmitExpressOrder(PayPalTransaction paypaltransaction)
        {
            ShipRateSOAP s = new ShipRateSOAP();
            UpdateOrderStatusInfoArray updateOrderRequestInfo = new UpdateOrderStatusInfoArray();

            updateOrderRequestInfo.orderStatus = "sumbmitted";

            string message = "";
            //string time;
            DateTime time;
            var      request = s.updateOrderStatus(
                HR,
                updateOrderRequestInfo,
                paypaltransaction.OrderSign,
                out message,
                out time
                );

            return(message);
        }
Esempio n. 2
0
        public string DeleteExpressOrder(TransactionDetail transactiondetail)
        {
            ShipRateSOAP s = new ShipRateSOAP();
            UpdateOrderStatusInfoArray updateOrderRequestInfo = new UpdateOrderStatusInfoArray();

            updateOrderRequestInfo.orderStatus = "deleted";

            string message = "";
            // string time;
            DateTime time;
            var      request = s.updateOrderStatus(
                HR,
                updateOrderRequestInfo,
                transactiondetail.OrderSign,
                out message,
                out time
                );

            return(message);
        }