webzunft / edd-helpscout

Easy Digital Downloads integration for HelpScout. A WordPress Plugin.
GNU General Public License v2.0
59 stars 13 forks source link

Deactivate license link in HS sends to blank page, doesn't deactivate license #43

Closed bradhogan closed 3 years ago

bradhogan commented 7 years ago

We've recently noticed that when the (deactivate) link is clicked in HelpScout, the link redirects to a new tab that's an empty page and then nothing happens (the license does not get deactivated in EDD). Let me know if there is additional info I can provide to help debug.

Thank you!

bradhogan commented 7 years ago

Just wanted to follow through on this issue to see if you've been able to replicate and if not, what else I can provide to help resolve the problem. We are still seeing this issue when clicking "deactivate" from within HelpScout for customer licenses. Thank you!

flowdee commented 6 years ago

Same here. This is how the final link looked like:

https://domain.com/edd-helpscout-api/deactivate_site_license?license_id=3346&site_url=customerwebsite.com%2F&s=JYxnYMDwNWDrtKeXAjG0YUCNON4%3D

webzunft commented 6 years ago

@flowdee thank you. Just to make sure: are you using the version from the master branch here or the wp.org version?

flowdee commented 6 years ago

Yep using Version 2.0-beta respectively the latest master branch from here. The issue still occurs.

webzunft commented 6 years ago

@flowdee thank you. Did you try the current master? I pushed a few updates yesterday, including one that prevented the links from working. Help Scout changed something a while ago. If it is not fixed, does the same issue happen when you use the option to resend the payment receipt?

flowdee commented 6 years ago

Yes, when I posted my reply I made sure that the version is up2date with the one of this master.

webzunft commented 6 years ago

Thank you. Is there an error message? Does the link to the client’s purchase and the license work? I am running this on my own site as well and tested it just yesterday.

flowdee commented 6 years ago

HTTP ERROR 401

other links work fine.

Edit: Just experienced that this only happens on 1 site. I'll observe this.

webzunft commented 5 years ago

@flowdee did you have time to look into this?

webzunft commented 3 years ago

Fixed with https://github.com/webzunft/edd-helpscout/commit/4582a2b6170e81ee579fa3bf092325d7830c4d95