I’m on ERPNext 10 and the shopify connector reads ERPNext Shopify: v2.0.26 (develop) (dated 4th of April, 2018). Upon setting up the shopify connector and syncing for the first time it set all the product prices on the shopify store to 0.
Another issue is, in the shopify connector log I can see that it synced customer and items but no sales orders were synced.
Is this particular connector considered to be in a working state or is using this shopify connector installed through the app installer (within ERPNext) not recommended anymore?
I followed the official docs guide for setting the connector up. Creating a private shopify app etc
ERPNext 11 and 12 seem to have problems syncing with Shopify as well, so let’s focus on that instead.
That all sounds nice in theory but I couldn’t find anything about shopify in any of the logs that looked relevant or of any actual help.
It surely it would be more beneficial for all parties involved if any one of the ERPNext devs could quickly debug the issue to confirm what is the cause e.g. if there have been some API changes on Shopify’s end that rendered the connector unusable. That’s considering the fact that the ERPNext foundation is advertising a product with Shopify compatibility baked in and yet I haven’t gotten a single positive confirmation that it works as advertised, just have been reading threads and github issues about how it is indeed broken but they can’t get hold of the developer that was originally responsible for the connector’s creation.
The big question here is whether you found anything or nothing - that is key - what did you find where?
Upon searching for the keyword “shopify” in every single file in the logs folder I didn’t get a single result. So my guess is, well it’s kind obvious as already mentioned in the gihub issue I raised, the connector is failing to add webhook bindings as evident from their section missing in the shoppify settings page.
Ensure your Scheduler is running…
I’m not aware what the Scheduler is for, could you explain? And also how it would help in the context of the issue at hand?
I run the command “bench --site (my site) enable-scheduler” successfully. What did that achieve? Searching for “scheduler” using the universal search inside ERPNext didn’t yield any results.
From my understanding and saurabh6790’s explanation in the thread I linked (and then you linked again), the Shopify connector since version 11 is using webhooks. This means that as soon as an order is made Shopify sends a sync request over webhooks and then ERPNext uses the request to create the order. Which brings me back to the issue that I already mentioned before, the webhooks have not been registered successfully and hence the sync problem.
The sync process does NOT happen through a scheduled task.
I’m relinking the screenshot from the aforementioned thread for clarity
The webhook records do not appear for me, neither in version 11 or 12.