I am after someone to write me a php script that can be be set up to run via cron job every 4 hours as well as me run manually by loading the script in a web browser.
The job is to take orders from my virtuemart webstore (PHP/MySQL) and submit them to my online inventory via SOAP. A technical document will be sent via PM to those that PM me with experience in this sort of job.
I will need an email output of every success/failure of it being run with the result.
The script needs to be written in php, fully open source and well commented so I can make amendments to it if I need to.
The script needs to change the status of the order so as to not resubmit the same order. Another way of checking this would be to insert another field into the database to mark orders as submitted, though changing the status is best.
The script will take the order information, make some processing adjustments where necessary, and submit the order to our various online warehouses via a set of rules or arrays.
if order currency = EUR then warehouse ID = 1234
if order currency = AUD then warehouse ID = 4567
another example of this is
if shipping method = “USPS Ground” then shipping method =” POST”
As you can see I need some customizations options available, its just not a straight cut and paste from VM database to online warehouse.
Some data matching will need to occur, eg the shipping cost on my site gets sent to a field called “custom1”.
I will need to prefix all order ID’s with a 2 letters so if the VM order id = 9876123 then I need the order number submitted to be “IP” or any other 2 letter character I define as a variable in the script.
If you have experience in virtuemart and SOAP this will be straightforward for you. Please ask any questions via pm but the online documentation from the warehouse system should explain it all to you thanks.
9 freelancers are bidding on average $252 for this job