OrderID is an integer. I am very surprised that you did not receive a
SOAP error for violating the WSDL. It looks like you are submitting
the ClientOrderIdentifier, but UpdateOrderList requires the
ChannelAdvisor OrderID. For eBay orders, you lucked out. Because
eBay doesn't give us a ClientOrderIdentifier, we default that field to
our OrderID value.
The message you received indicates that an error occurred when then
system tried to retrieve the current status of the order, which makes
sense given that you submitted the incorrect identifier. Since the
message you received is completely unhelpful, I will make sure there
is a better one in the future.
Why are you trying to update Checkout Status to Canceled and Payment
Status to Failed for an Amazon order, anyway? If your intention is to
cancel the order, that is done by submitting a full refund request
prior to shipment. The order status will be updated automatically
when the cancellation is processed, so there is no need for you to do
it yourself.
On Mar 5, 9:01 pm, Jimmy <
zyma...@gmail.com> wrote:
> The response object for a callout to the UpdateOrderList method I am
> getting this:
>
> object(stdClass)#3 (1) {
> ["UpdateOrderListResult"]=> object(stdClass)#4 (3)
> {
> ["Status"]=> string(7) "Success"
> ["MessageCode"]=> int(0)
> ["ResultData"]=> object(stdClass)#5 (1)
> {
> ["OrderUpdateResponse"]=> object(stdClass)#6 (8)
> {
> ["FlagAndNotesSuccess"]=> bool(false)
> ["FlagAndNotesMessage"]=> string(46)
> "No flag or transaction note data was submitted"
> ["OrderStatusSuccess"]=> bool(false)
> ["OrderStatusMessage"]=> string(17) *"Unknown
> Error -30"*