Ebay API Expert - php script Fetch Orders & All data, return array for processing to MySQL
$30-250 USD
In Progress
Posted over 9 years ago
$30-250 USD
Paid on delivery
Tired of all the "Does not quite work how we need it to" software - I need a simple PHP application we can configure with our details to connect to one or more eBay seller accounts and download orders according to the following guidelines:
The script you produce will need to be a heavily documented class compatible for php5.2 and higher.
Class should also have debugging embedded and able to call debug results on any function or sub-function , debugging should be able to be configured such as $class->Debug_Level("Debug|Error|Warn|Notice") and the results will be returned in a $class->Debug_Results() array that can be called after any function of the class is run.
For example:
$resulta = $class->DebugLevel("DEBUG");//Returns a false if some reason it won't set - needs to be "self-testing"
if(false === $resuilta){die("Debug Level cannot be set!");
$result = $class->SomeFunction($some_data);
$debug_data = $class->Debug_Results();//Note this value will be FALSE if the function ran flawlessly with nothing to report back)
var_dump($debug_data);
Each time the script runs it needs to check for:
1) New Orders (paid or unpaid)
2) Status updates on existing orders ( marked Shipped, Refunded, Cancelled, Archived, Returns, Etc.) if at all possible (don't know if that can be done, otherwise just fetch new orders since last run time, and we'll figure out the rest.)
For each run of the script it will return an array (Multi-dimensional, one per order that KEYS ON Sales Record ID - NOT The "Order ID#" - but the SALES RECORD #) Each should have a "flag" (Either ebay's data, or one needs to be created) reflecting the reason the order is included - "New Order" or "Status Update" (if item #2 above is possible) Preferrably the flag will be a numeric value (1,2,3,4,5 etc)
The end result will be a multi dimensional array that can be iterated over and processed by a different php script
The script needs to be FULLY CONFIGURABLE so we can insert our eBay API token/key (or whatever is required to connect to our account) and any necessary configurations - *nothing* should be hard coded - all values need to be able to be configured by setting ($class->Variable_One = "one"; or calling a setter within the class ($class->Set_Variable("One","one"); - anything and everything to be called from outside the class should return a value - even if it returns a boolean (Which needs to be documented)
Now the background to it - We are developing our own in-house software to manage inventory and sales, as well as accounting data It will run on a LINUX computer/Rack Server and be written mostly all in php/mysql.
We may or may not have additional project work for other bits and pieces (as well as the same sort of script to connect to Amazon and possibly other E-Commerce API's) So, excellent job done may result in additional future work and projects. PHP code needs to be written cleanly, clearly and to PHP Coding standards that we have set and adhered to since 2002 - [login to view URL] THIS WILL BE AN IMPORTANT CONSIDERATION! (However, the "Standard Header info in #3 is not needed - we can add that)
Successful bids will also note in their bid what OUR preferred method of php bracketing is - just to show you read and understand our specification. - Otherwise, if you ignore this paragraph and our coding standards, your bid will obviously be ignored in turn :)
The project should be relatively simple (I already have some basic code I just don't have time to develop it!) for someone familiar with the eBay API and even basic php OOP.
We won't waste your time by requesting code samples - but code MUST meet our rather demanding standards.