Anyone? At the very least, can someone confirm that shopify integration works fine for them in ERPNext 11?
We had issues too and decided to not implement it
That’s unfortunate, considering I’m seeing problems raised a year ago without any solution, but thank you for the response.
To help inform your audience [ERPNext 11 & 12] Shopify Connector in non-working state? · Issue #18898 · frappe/erpnext · GitHub
"There is no indication of what is wrong as no shopify logs are being created.
Is this a known issue?"
Possibly yes, so troubleshoot that first - note this v11 report a year ago on development branch
…
Is this a known issue?"Possibly yes, so troubleshoot that first
Troubleshoot whether it’s a known issue, is that what you mean? Well I have seen no official confirmation anywhere so to anyone reading this feel free to chime in.
Both you and @Zia_Akbari here Manual sync is removed and auto sync is not working in ShopifyERPNext - #10 by Zia_Akbari
found no Shopify specific logs. So troubleshoot that first.
@Nahuel_Nso perhaps can shed light here too.
I’m not sure what kind of troubleshooting is expected. Please explain.
Good question! Troubleshooting is just problem solving or debugging - what any of us must do when something doesn’t work as expected!
It’s a systematic trial and error experimental process. The steps generally are:
- Ask a Question
- Form a Hypothesis - a theory to test and answer the Question
- Design and perform an experiment to test the Hypothesis
- Observe and analyse the actual versus expected result
- Form a Conclusion.
- Repeat 1-5 based on 5
So when something fails to work as expected, in our case step 4) is to check the logs - including /var/log/* - to identify what actually occurred is key!
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.
I hope you understand my frustration.
I can’t help with this. We tried the Shopify integration a lot of time ago. Sorry.
Absolutely stay tuned this community is all about sharing and resolving that!
The big question here is whether you found anything or nothing - that is key - what did you find where?
Ensure your Scheduler is running…
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.
Well, that’s odd but search the forum and you will find many q&a gems, nor do you need me for that!
Already did reading up on the scheduler and I can’t see how it is related to the shopify issue.
Is this what you are referring to?
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.
Could you perform a quick test on your setup? I could give you the api details/ passwords of a test shopify store I set up just for this purpose.
Sorry I am out of steam here to sort this out possibly someone else will volunteer
OTOH if you want to work on this let me know!
Work on this in what sense?