Encerrado

eBay API code help

Hello,

We want to make sure you actually read project details so please start your reply with "Hi Apple" message.

We build eBay API code to retrieve order from eBay, for orders that been paid but not shipped yet.

But for some reason, we keep getting some ( few ) already shipped orders from API also.

Because for some reason their shipped_time value comes back as NULL

Here is our code sample;

The API is returning orders listed with shipped_time = null even though in ebay the orders are actually listed as shipped.

We use shipped_time to determine whether to import a record or not so this inconsistent problem makes API unreliable.

<?xml version='1.0' encoding='UTF-8'?>

<GetOrdersRequest xmlns='urn:ebay:apis:eBLBaseComponents'>

<DetailLevel>ReturnAll</DetailLevel><Version>847</Version>

<RequesterCredentials><eBayAuthToken></eBayAuthToken></RequesterCredentials>

<ModTimeFrom>2013-11-08 01:50:59</ModTimeFrom><ModTimeTo>2013-11-14 01:50:59</ModTimeTo>

<OrderRole>Seller</OrderRole>

<OrderStatus>Completed</OrderStatus>

<SortingOrder>Ascending</SortingOrder><Pagination><EntriesPerPage>100</EntriesPerPage><PageNumber>1</PageNumber></Pagination>

</GetOrdersRequest>

"order_id": "123456789",

"order_status": "Completed",

"adjustment_amount": {

"cents": 0,

"currency": "USD",

"bank": {

"rates": {},

"mutex": {}

}

},

"checkout_status": {

"ebay_payment_status": "NoPaymentFailure",

"last_modified_time": "2013-11-08T02:40:55Z",

"payment_method": "PayPal",

"status": "Complete",

"integrated_merchant_credit_card_enabled": false

},

"buyer_user_id": "xxx",

"paid_time": "2013-11-07T05:13:46Z",

"shipped_time": null,

We use a different version for a Java class to make same API calls and this use s version 725 and does not have the same problem. The above orders are not returned in api.

When we switch Ruby version to 725 we get the same result so it does not appear to be related.

Here is the Ruby code:

using gem:

[url removed, login to view] altered to handled new version of ebay api.

response = ebay.get_orders(:version=> 725, :site =>"US", :detail_level => "ReturnAll", :mod_time_from => create_time_from, :mod_time_to =>create_time_to, :sorting_order => "Ascending", :order_role => "Seller", :order_status => "Completed", :pagination => EbayAPI.get_pagination_class(100, page))

WIth older version:

<?xml version='1.0' encoding='UTF-8'?><GetOrdersRequest xmlns='urn:ebay:apis:eBLBaseComponents'><DetailLevel>ReturnAll</DetailLevel><Version>725</Version><RequesterCredentials><eBayAuthToken></eBayAuthToken></RequesterCredentials><ModTimeFrom>2013-11-08 03:07:32</ModTimeFrom><ModTimeTo>2013-11-14 03:07:32</ModTimeTo><OrderRole>Seller</OrderRole><OrderStatus>Completed</OrderStatus><SortingOrder>Ascending</SortingOrder><Site>US</Site><Pagination><EntriesPerPage>100</EntriesPerPage><PageNumber>1</PageNumber></Pagination></GetOrdersRequest>

Habilidades: eBay, MySQL, API PayPal, PHP, Ruby on Rails

Ver mais: getordersrequest ebay, ebay api code sample, our code, ebay apis, ruby help, build gem, php ebay api, from api, ebay xml, ebay related, build java api, status code, java code help, paypal api code php, xml import mysql php, php code sample, xmlns, mysql api import, php ebay api order, xml api calls php, ebay retrieve, java code sample, api status, xml pagination php, java xml api

Acerca do Empregador:
( 22 comentários ) bangkok, Thailand

ID do Projeto: #5127012

6 freelancers estão ofertando em média $260 para este trabalho

ambalaonline1

"Hi Apple" Very kind greetings to you there,With deepest regards, we welcome you on behalf of AmbalaOnline, one of the largest web development and webdesigning companies in India. We hereby take the pleasure of ex Mais

$368 USD in 5 dias
(4 Comentários)
3.8
toinnisfree

I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactor Mais

$185 USD in 2 dias
(14 Comentários)
4.8
delightsoft2

"Hi Apple" Hello, Hope you are well and doing well!!! we have already worked on a similar project before and can deliver as u have mentioned successfully We have gone through the details you have pro Mais

$247 USD in 12 dias
(0 Comentários)
0.0
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$237 USD in 8 dias
(0 Comentários)
0.0
scriptzguru

" Hi Apple " Hello , I can do this and confident ! . Looking forward to hear from you . with Kindest regards . -Guru

$333 USD in 10 dias
(1 Comentário)
3.2
otssols

A proposal has not yet been provided

$157 USD in 3 dias
(3 Comentários)
6.1
Bacancy01

Hi Apple Hi, I have checked the code here. Can you please add me on Skype: bacancy for discussion Our Expertise in Ruby On Rails: • Language: Ruby • Scripting Language: Java Script, Coffe Mais

$277 USD in 4 dias
(0 Comentários)
0.0
codeware1

Hello, Greetings of the Day I have gone through your project’s initial requirements with the help of the job posting you have placed. And I think I have requisite experience and expertise to comp Mais

$247 USD in 6 dias
(0 Comentários)
0.0