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

Having trouble getting orders from the past #5

Closed
weseggs opened this issue Aug 21, 2018 · 9 comments
Closed

Having trouble getting orders from the past #5

weseggs opened this issue Aug 21, 2018 · 9 comments

Comments

@weseggs
Copy link

weseggs commented Aug 21, 2018

Hi,

I have installed your code and are playing around with it. I set the Fetch Data interval (hrs) to 2000. I would like to go back further if possible.

I can only get the data from a few days ago.

Do you have a work around for this?

Thanks
Wes

@weseggs
Copy link
Author

weseggs commented Aug 21, 2018

Is it because google has a limit on the URL Fetch URL length?

https://developers.google.com/apps-script/guides/services/quotas

@Jurero123
Copy link

I am having exact same problem.

@mithunmanohar
Copy link
Owner

Hey guys. Give me a day or two. I will take a look and figure out a solution. Little busy at work right now.

@weseggs
Copy link
Author

weseggs commented Aug 22, 2018

No worries, thanks for that

@weseggs
Copy link
Author

weseggs commented Aug 27, 2018

How did you go with this one?

@baligandm
Copy link

Same issue here, did you guys sort out a solution ?

@Jurero123
Copy link

I am using different solution with webhooks writing all orders in my app where I can export them.

@mithunmanohar
Copy link
Owner

@weseggs Sorry for the delay. I do not think its a quota issue.

  • For those of you are facing the issue, what is the value you are giving in 'Fetch Data interval (hrs)' in sheet?
  • Are you expecting more that 10 orders for that interval ? If so this could be a pagination issue. As per wc documentation : Requests that return multiple items will be paginated to 10 items by default. This default can be changed by the site administrator by changing the posts_per_page option.
    You guys can probably try this setting.
    I do not have a working store at the moment. So not able to test this out myself.

@mithunmanohar
Copy link
Owner

Closing the issue as there is no follow up.

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

No branches or pull requests

4 participants