Comments (4)
Hello,
I think the problem is these two lines of code.
$ship->ShipmentTrackingNumber = $carrier;
$ship->ShippingCarrierUsed = $tracking_no;
From what I understand they should be.
$ship->ShipmentTrackingNumber = $tracking_no;
$ship->ShippingCarrierUsed = $carrier;
Kind Regards,
David
On 27 October 2015 at 07:45, Ovidiu Ungureanu [email protected]
wrote:
I'm trying to update shipping tracking details by calling completeSale.
My complete request:
2015-10-27 07:36:49 000-test-000 AMAZON 251865599336-1734899421015Array
(
[MessageID] => 2015-10-27 07:36:49
[Shipment] => Array
(
[ShipmentTrackingDetails] => Array
(
[0] => Array
(
[ShippingCarrierUsed] => 000-test-000
[ShipmentTrackingNumber] => AMAZON
)) ) [OrderID] => 251865599336-1734899421015
)
Error: Tracking number(s) already exists.
One (or more) tracking number(s) in the request already exists either for a different buyer or for a different seller.PHP code that generate above:
$ship = new Types\ShipmentTrackingDetailsType(); $ship->ShipmentTrackingNumber = $carrier; $ship->ShippingCarrierUsed = $tracking_no; $shipDetails = array($ship); $request = new Types\CompleteSaleRequestType(); $request->OrderID = $order_id; $request->Shipment = new Types\ShipmentType(); $request->Shipment->ShipmentTrackingDetails = $shipDetails; $request->MessageID = date('Y-m-d H:i:s');
Ebay API Test Tool code (that works every time)
000-test-000 AMAZONFirst, I don't understand why have xmlns in it. Could be the reason this
is breaking the request. Probably I'm doing something wrong in my PHP.
Please tell me why there's a xmlns and if I'm using the class in the wrong
way guide me.Many thanks.
—
Reply to this email directly or view it on GitHub
#7.
from ebay-sdk-php.
I spend so much time trying to fix that API call that I totally missed it.
Always good to have a second pair of eyes.
It's working now.
Thanks a lot for your response.
from ebay-sdk-php.
No problem.
David
On 27 October 2015 at 09:37, Ovidiu Ungureanu [email protected]
wrote:
I spend so much time trying to fix that API call that I totally missed it.
Always good to have a second pair of eyes.
It's working now.
Thanks a lot for your response.—
Reply to this email directly or view it on GitHub
#7 (comment)
.
from ebay-sdk-php.
Not an issue, it was my fault.
from ebay-sdk-php.
Related Issues (20)
- Return Policy Attribute Not Valid HOT 3
- SoldItemsOnly not working HOT 1
- Element names are incorrect in file HOT 2
- "invalid_client" on oAuth when requesting user access token HOT 7
- GetFeedbackRequest always returning the same date HOT 4
- The Feed API not Working HOT 3
- findItemAdvanced not return watchCount HOT 1
- Marketing resource url incorrect for BulkCreateAdsByListingId HOT 1
- Error 11 "Please specify a File with Valid Format" HOT 2
- Notifications HOT 2
- Finance API integration HOT 1
- Unable to search category by keywords HOT 1
- HTTPS everywhere? HOT 3
- Internal error to the application:10007 on GetOrders api HOT 1
- Credentials for findItemsIneBayStoresRequest HOT 3
- AddFixedPriceItemRequest and SuperSize photos HOT 1
- Is there a flag / option / etc to log the xml response from ebay? HOT 3
- Use this: Generate and Download API SDKs for eBay HOT 3
- DTS\eBaySDK\Trading\Types\AmountType value problem HOT 9
- "Warning: "continue" targeting switch is equivalent to "break". HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ebay-sdk-php.