Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SyncOrder.php #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebfie
Copy link

@sebfie sebfie commented May 5, 2021

We should filter orders to sync using allowed return states.

Because in my case with a website with many existing orders, this script will treat 25 orders by 25 orders. If the new 25 orders are not allowed to be sync, the system is stuck.

e.g

In my case the next 25 orders got the state "cancelled" so on each cron run, it get 25 orders cancelled not to sync, so it will never sync completed orders

We should filter orders to sync using allowed return states
@sebfie
Copy link
Author

sebfie commented Feb 26, 2024

Anyone can take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant