Comments (7)
The only way to figure it out is to debug on your server. Try https://github.com/freescout-helpdesk/freescout/wiki/Debugging
from freescout.
This is the error in the logs, are you looking for more detail than this?
[WooCommerce] HTTP Status Code: 0 (Store not found at the specified URL) | Requested resource: https://impactsoundworks.com/wp-json/wc/v2/orders
I am 100% sure this is the correct endpoint. I have just used Postman and tested it for myself - it is correct and returning data as expected with a simple GET request.
from freescout.
from freescout.
Unfortunately we can't tell what can be the reason of the problem from here. The only way to do it is for someone to investigate it on your server.
from freescout.
By "your server" do you mean the server hosting Freescout? If so, as I showed in the logs, the only error is that HTTP Status Code 0. But that doesn't make sense as, like I said, every other application that uses my store's API (there are dozens) work perfectly, including Postman running on my computer. Is the WooCommerce module open source? Can I open it up and see if I can debug this myself?
EDIT: I've done this and spent awhile testing. The problem seems to be a cURL timeout... Our WooCommerce store db is quite large as we have many hundreds of thousands of orders. Requesting the orders on-demand like this takes about 40 seconds when going through the WP/Woo application layer. (A direct MySQL query is much much faster.)
I was looking into how Helpscout handles this, and it seems like rather than on-demand grabbing orders when you first open an email, it uses a store server-side plugin possibly in combination with caching data on the Freescout side.
I'm curious if this module is being used by any other stores in the 400k+ order range and how it performs for them.
In the short term perhaps I can adjust the cURL timeout manually.
from freescout.
@freescout-helpdesk I have just rewritten some aspects of the WooCommerce integration.
The retrieval time has gone from 40s to less than 1 second.
I did this by working with Automattic to create a new endpoint via WC plugin that is orders of magnitude faster. I then added an integration via a separate plugin on the Orders page for customers allowing them to submit a ticket easily. See screenshots.
The plugins are not really polished but they do work and makes the functionality equivalent to Helpscout.
Are you interested in taking a look at our work?
from freescout.
You can send the code to [email protected]
We'll take a look.
from freescout.
Related Issues (20)
- Displaying an article from the knowledge base. HOT 3
- How to fetch all messages, not just unseen/unread? HOT 3
- Automatic linking of email addresses from the same domain with the client's card. HOT 2
- 1.8.142 Undefined variable $customer error appears in the logs once in a while
- Problem with install or update I got get_current_user() error HOT 1
- Auto Login Module does not ask for 2FA HOT 5
- Slow server HOT 7
- Inline images do not display, but some inline image are displaying HOT 4
- Report -> Time tracking wrong IDs in Conversation section HOT 2
- Sending emails and Basich Auth (Office 365) HOT 7
- Auto replay huge empty space HOT 1
- Updating modules from CLI HOT 1
- Removing admin users from assignee in kanban view HOT 1
- Freescout 1.8.143 Problem Fetching Emails on MS365 HOT 7
- block ip with extra security module HOT 2
- Invalid array settings: idp_sso_url_invalid HOT 8
- connection setup failed HOT 17
- Preventing automatic addition of CC Recipients from customer's incoming messages HOT 1
- CRM module: users see all Customers regarding of Mailbox permission HOT 1
- Forward/Reply Attachment issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freescout.