Amazon / Magento integration : editing custom integration to speed up cron

IN PROGRESS
Bids
15
Avg Bid (USD)
$754
Project Budget (USD)
$250 - $750

Project Description:
I have a pre-written custom extension to integrate Amazon Orders with Magento.

It runs ok, but two background processes are badly-coded (in logic) and tae 20-40 minutes to run (in the Magento cron) each time.

There are basically a few steps to this extension:

1) Pulling amazon orders into Magento. This works.
2) As it pulls in those orders it should change the Magento stock. This works.
3) It compares inventory at amazon and in magento. The reasoning here is to create a product in Magento if that doesn't already exist (but it does in Amazon) so that it can import orders correctly. This works.
4) It marks orders that are shipped in Magento as shipped in Amazon, passing over the tracking number. This works but takes a while and has incorrect logic which needs fixing.
5) On a regular cron (I think every 45 minutes) it then should upload the current stock levels from magento to the various amazon stores. This is timing out or otherwise not completing successfully. This is the other problem part that needs fixing.

I have 3 amazon accounts, each has their own config section in this extension backend. 2 are for one group of products (have their own website in Magento), the other 1 is for another site's products (also with its own website in Magento - ie this is a multi-site setup).

So, for number 5) above, I think this can be optimised for a start - right now it sends all products to all amazon stores, for qty and price updates.
- What would be good is to have a selectable part of each config section where you select which stores products it sends
- so that it only sends relevant products to the appropriate amazon account.
- It also sends qty and price at the same time; this cron action needs splitting - price updates once a day, qty updates once an hour.

For number 4) above, I think it keeps trying to mark as shipped orders which for some reason cannot be marked as shipped. It should have a 'max attempts' of 5, and should send an email after that to admin warning of the error.

So the job is basically to improve the logic and speed of the background processes involved with this custom extension.

Thanks

Skills required:
Amazon Web Services, Magento, PHP
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 1000
in 25 days
Hire phpsolutionsuk
$ 750
in 10 days
$ 600
in 7 days
$ 740
in 30 days
Hire ibapi
$ 500
in 7 days
Hire iclicknetwork
$ 750
in 5 days
$ 750
in 28 days
$ 2000
in 30 days
$ 690
in 20 days
$ 666
in 15 days