question

steampunkjunkiesx avatar image
0 Likes"
steampunkjunkiesx asked ·

Why am I getting an error with CompleteSale?

Hi, I'm trying to work out why my CompleteSale command wasn't working. If I set leave out High", then it appears to have updated the tracking number (when it fact it hasn't, as I can't see it on the order record). So after adding in the WarningLevel to high, I now get: $VAR1 = { 'Version' => '987', 'Errors' => { 'LongMessage' => 'Input data for tag is invalid or missing. Please check API documentation.', 'ErrorParameters' => { 'Value' => 'OrderID', 'ParamID' => '0' }, 'ErrorCode' => '37', 'SeverityCode' => 'Error', 'ErrorClassification' => 'RequestError', 'ShortMessage' => 'Input data is invalid.' }, 'Build' => 'E987_CORE_APIXO_18127284_R1', 'Ack' => 'Failure', 'xmlns' => 'urn:ebay:apis:eBLBaseComponents', 'Timestamp' => '2016-10-21T08:51:17.920Z' }; The code I'm using (in Perl), in: my $result = $ebay->submitRequest( "CompleteSale", { DetailLevel => "ReturnAll", WarningLevel => "High", Shipped => "true", OrderID => 1933420817015, Shipment => { ShipmentTrackingDetails => { ShipmentTrackingNumber => "77293124902615", ShippingCarrierUsed => "Hermes" } } }); ...and this creates the following envelope: ReturnAll xxxx xxxx Hermes true High xxxx exists fine (I've taken the real order number out, as not sure if its a security risk including it :)) Can anyone shed some light as to whats going on? I really want to get this working, so I don't have to manually enter all the tracking codes in. Thanks! Andy
tracking-number
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.