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

/edd-helpscout-api/customer_info #67

Open
kmb40 opened this issue Apr 19, 2021 · 9 comments
Open

/edd-helpscout-api/customer_info #67

kmb40 opened this issue Apr 19, 2021 · 9 comments

Comments

@kmb40
Copy link

kmb40 commented Apr 19, 2021

How is this directory created?

@webzunft
Copy link
Owner

This is a dynamic link, not a directory. EDD HS listens to any URL containing edd-helpscout-api. customer_info is the action that is then triggered.

Do you experience issues with this?

@kmb40
Copy link
Author

kmb40 commented Apr 20, 2021

This has worked for years without issue.

Upon copying the WP site into another directory (as part of a migration), updating the path in the custom app in HelpScout, we receive a "Not Found" message in HelpScout.

Flipping the path back to the original location works.

@webzunft
Copy link
Owner

What is the new and old path?
Are you using any services or firewalls that could block the URL? Cloudflare, Sucuri, etc.
Could there be any other setup, e.g., in your .htaccess preventing the new route?

@kmb40
Copy link
Author

kmb40 commented Apr 20, 2021

Old path - site.com
New path - site.com/new_home
No security barriers. Tested .htaccess and could not find an issue. Still testing as I suspect to find something there.

@webzunft
Copy link
Owner

Can you open https://site.com/new_home/edd-helpscout-api/customer_info in your browser? It should return {"html":"Invalid signature"}.

@webzunft
Copy link
Owner

@kmb40 did you see my reply or have you been able to resolve the problem?

@kmb40
Copy link
Author

kmb40 commented Jun 24, 2021

Thanks for following up. Returns a 404 at:
https://site.com/new_home/edd-helpscout-api/customer_info

The original "{"html":"Invalid signature"}" returns what you mentioned at
https://site.com/edd-helpscout-api/customer_info

@webzunft
Copy link
Owner

Thanks for your feedback. Seems like it works on the original URL. Would that be a problem?

@nosilver4u
Copy link
Contributor

Since it seems the location does not automatically account for sub-folders (we have a staging site in a sub-folder also), what we've done is to use this:
define( 'EDD_HELPSCOUT_API_PATH', '/new_home/edd-helpscout-api/' );

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

3 participants