frappe / frappe/ecommerce_integrations
App only syncing certain Shopify orders
- Dominant language
- Python
- Stars
- 206
- Forks
- 275
- Avg merge
- 54m
- Merged PRs (30d)
- 1
Description
I am having trouble getting ecommerce_integrations to properly sync orders from Shopify to ERPNext.
I have tried narrowing down the sync range down to this month where we definitely have a few orders, however, even after waiting for XX:00 hours for the sync_sales_order process to start, it does not appear.
Whereas if I increase the range to from last year till now, it starts to sync at XX:00 hours, but only managed to sync 1 order before the next gave an error due to a deleted product on an old order (issue #337).
Maybe the error is stopping it from syncing everything, but I believe it should still be able to sync this months' orders. New orders sync and cancel just fine. Products also managed to sync with the 'Import Products' page.
I am also getting similar issues to #298 #320 where it will queue up 'migrate_from_old_connector' after saving Shopify Settings.
Here is my log for reference.

I am running self-hosted ERPNext version 15 branch & the main branch for ecommerce_integrations.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Shopify order sync with a narrow date range and inspect the sync_sales_order logs, then compare it with a range starting last year. Check whether the deleted product error from issue #337 or the migrate_from_old_connector queue mentioned in issues #298 and #320 prevents later orders from syncing; done means eligible orders sync without being blocked by unrelated old orders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100