Hi!
I'm looking to have a plugin created that pushes oder details to an FTP server, and pulls updates on that order (track&trace data, order status).
The steps:
1. A new order comes in. The details of this order will be placed in an XML file on a remote server.
2. On this server a file will be placed if an order is accepted or denied (boolean), with a message attached. This information is pulled.
3. On this server a file will be placed if an order is shipped out, if added, a track and trace number is provided. This information is pulled.
4. On this server a file will be placed adjusting the stock by product number (SKU) and quantity. This information is pulled.
The files:
1 file will be created.
3 files will be read.
1.
The first file will be an exported xml. This file will be placed in the '/orders/‘ folder on the FTP server.
This file contains data of a new order that has been placed.
Sample files folder: 1 order import
Schema: Full schema (XSD) can be found in ‘[login to view URL]'
Output XML: Output examples based on the schema can be found in the folder.
Filename: '[orderimportfiletitle].[login to view URL]' (ISO format time stamp).
2.
The second file is read from the server. The file tells if an order export was succesfull. The file is in the /‘importresult/’ folder on the FTP..
Sample files folder: 2 import notify
Schema: Full schema (XSD) can be found in ‘[login to view URL]'
Input XML: Input examples based on the schema can be found in the folder.
Filename: ‘[login to view URL]' (ISO format time stamp).
3.
The second file is read from the server. The file provides the tracking number for an order. The file is in the /‘ordernotify/’ folder on the FTP..
After this file is read an email must be send out with the tracking number .
Sample files folder: 3 order notify
Schema: Full schema (XSD) can be found in ‘[login to view URL]'
Input XML: Input examples based on the schema can be found in the folder.
Filename: ‘[login to view URL]' (ISO format time stamp).
4.
The second file is read from the server. The file updates the stock quantity. The file is in the /’stocknitfy/’ folder on the FTP.
Sample files folder: 2 stock notify
Schema: Full schema (XSD) can be found in ’[login to view URL]'
Input XML: Input examples based on the schema can be found in the folder.
Filename: ’[login to view URL]' (ISO format time stamp).
Other requirements:
- The current checkout billing/shipping address, in WooCommerce, contains one field for “address” and for for "address addition”. The XML schema requires the address number to be a separate field:
<xsd:element name="street" type="xsd:string" />
<xsd:element name="streetno" type="streetnoImportType" />
<xsd:element name="streetno_addition" type="xsd:string" minOccurs="0" />
- Fill in FTP data in plugin settings. The server credentials needs to be easily adjusted in the plugin settings.
- Adjust the exported/imported filenames in the plugin settings.
- Adjust pull time latency for order import results (hourly, daily).
- Project turnaround: ~5 days
- XSD Schema and XML test files will be provided.