Preface
When a customer faces issues in data synchronization / Initialization between iVend and Magento then the attached fix should be applied (if not previously applied).
These all are the files in the folder of this Fix:
Steps
Below are the steps to apply the attached fix:
1) Take Backup of the full folder of the Magento Connector (from path: C:\Program Files (x86)\CitiXsys\iVend Retail\iVendMagentoConnector) at any new location.
2) Copy below 4 files in folder iVendMagentoConnector (at path: C:\Program Files (x86)\CitiXsys\iVend Retail\iVendMagentoConnector):
iVend Magento Integration.dll
iVend.dll
iVendMagentoIntegration.exe
Magento.dll
3) Copy below 3 files in folder ConfigurationManager (at path: C:\Program Files (x86)\CitiXsys\iVend Retail\iVendMagentoConnector\ConfigurationManager)
IVend.dll
Magento.dll
Config.manager
4) File AppSetting.json and SyncStatus.xml should not be used for copy-paste rather should be used as steps 5 and 6.
5) Open AppSettings.json file and append the below lines at the last:
"PullXEventsAtATime": 10,
"TimeoutInSeconds": 0
Below is an example of the same, the last section will look like as below:
*********************************
"ServiceRunFrequency": {
"LastRunDateTime": "2019-11-20 11:47:04",
"RunEveryXSeconds": "1",
"PullXEventsAtATime": 10,
"TimeoutInSeconds": 0
*************************************************
6) Open SyncStatus file and make PriceList section as below by appending missing lines:
<PriceList>
<Sync>true</Sync>
<SyncEveryXSeconds>60</SyncEveryXSeconds>
<LastDataSyncDatetime>2019-11-23T01:01:01.001</LastDataSyncDatetime>
<LastAPICallDatetime>2019-11-23T01:01:01.001</LastAPICallDatetime>
<EnableLogging>false</EnableLogging>
</PriceList>
Change the dates here as per the customer's existing file.
Note
Please append/replace the lines in Steps 5 and 6 in the existing section, we should not add a whole new section with these lines.
Conclusion
With the above 6 steps, we conclude the process of applying the fix.