ebay-api

Ebay API ISO 8601 duration format to timestamp

时间秒杀一切 提交于 2019-12-22 09:29:12
问题 Ebay API provides me time in ISO 8601. For example, it gives me item time left: P0DT0H1M4S Here is how this time is formatted: ebay duration I want to convert this time to simple Y-m-d H:i:s format. So far I've tried date("Y-m-d", strtotime("P0DT0H1M4S")); but it does not work. 回答1: That date interval string is an ISO 8601 duration specification and can be use with DateTime() and DateInterval() $date = new DateTime(); $date->add(new DateInterval('P0DT0H1M4S')); echo $date->format('Y-m-d H:i:s

M2E Cron jobs not automatically running in Magento [closed]

人走茶凉 提交于 2019-12-20 07:35:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 months ago . We've installed M2E on a Magento installation for a client - all the Cron jobs are set to run but unless we do them manually, they just aren't running. Running them manually does work fine. I have read through lots of documentation and support tickets but there seems to be no identification of a similar problem

M2E Cron jobs not automatically running in Magento [closed]

北慕城南 提交于 2019-12-20 07:34:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 months ago . We've installed M2E on a Magento installation for a client - all the Cron jobs are set to run but unless we do them manually, they just aren't running. Running them manually does work fine. I have read through lots of documentation and support tickets but there seems to be no identification of a similar problem

Ebay api GetSellerList, Parsing response XML

纵然是瞬间 提交于 2019-12-20 06:56:53
问题 I am using the ebay trading api to get a sellers stock which is currently listed. I am using the call GetSellerList.I am having trouble parsing the xml which I would then insert into there website shop. This is the xml request. <GetSellerListRequest xmlns='urn:ebay:apis:eBLBaseComponents'> <UserID>".$user_id."</UserID> <DetailLevel>ReturnAll</DetailLevel> <ErrorLanguage>RFC 3066</ErrorLanguage> <WarningLevel>Low</WarningLevel> <Version>".$compat_level."</Version> <RequesterCredentials>

eBay API GetOrders call not returning all orders as requested

别来无恙 提交于 2019-12-20 05:56:53
问题 I am trying to fetch orders created in a specific period of dates using a php script. This is a most basic request that i am making to ebay: <?xml version="1.0" encoding="utf-8"?> <GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>[my authentication token]</eBayAuthToken> </RequesterCredentials> <CreateTimeFrom>2012-05-10T00:00:00.000Z</CreateTimeFrom> <CreateTimeTo>2012-05-15T00:00:00.000Z</CreateTimeTo> </GetOrdersRequest> Call compatibility

eBay oauth token and refresh tokens [closed]

可紊 提交于 2019-12-18 11:46:35
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . been struggling for couple of days with eBay token authentication. I am finding it hard to understand how to fetch new tokens, after signing up for a developer program account, I requested the key-set and got them, afterwards I grant access on Auth'n'Auth token which promises to last for 18 months, and yes the

SSLError: bad handshake, Python requests

别说谁变了你拦得住时间么 提交于 2019-12-17 20:29:19
问题 I am consuming Ebay Trading APIs using Ebay python sdk which is eventually sing python-requests for making API calls. All was working fine, but since last few days I am unable to make call. I am getting error: SSLError: bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],) Here is complete traceback: In [9]: response = api.execute('GetSessionID', data) --------------------------------------------------------------------------- SSLError Traceback

How to get my Ebay listings including EAN ( GTIN/ISBN)

梦想的初衷 提交于 2019-12-14 00:27:09
问题 I struggle with the Ebay-APIs in trying to get the information I need about my own products. I would like to use the EAN-codes in my offers to sync the stock quantity with another shop system. (each EAN is unique in my offers) Up to now I didnt manage to get this information: Trading API -> GetMyeBaySellingRequest doesn´t include EAN, even when using DetailLevel=ReturnAll Neither does Large Merchant Services -> ActiveInventoryReport Any idea? 回答1: If you are using the EAN as your unique way

eBay API, how to get numerical Site ID from SiteCodeType

一世执手 提交于 2019-12-13 02:22:54
问题 In my app I want to give the user the opportunity to choose the site to explore. What I do is showing a list of the existing sites (using a String array) and then get the SiteCodeType with the valueOf() method of the enum. This value works with some APIs, but what I need is actually the specific ID of the site, and I can't find out how to get it. I hoped to get it somewhere using the SiteCodeType I already have. I saw both GlobalID and SiteID but I don't understand how to work with them.

Cancel eBay order via API

老子叫甜甜 提交于 2019-12-11 20:37:44
问题 I use CompleteSale function to mark order as completed on eBay via API. What is the way to cancel existing order on eBay via API? 回答1: I think you want AddDispute. It can be used to cancel single line orders. It takes TransactionId and ItemID OR OrderLineItemID (concatenation of ItemID and TransactionID , with a hyphen in between these two ID [ OrderLineItemID = ItemID + "-" + OrderLineItemID ]). Presumably, you can call it multiple times to cancel multiple lines. I am not 100% sure though.