webzunft / edd-helpscout

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

"No payments found for Array" when payment email isn't primary one for HS customer. #41

Closed pderksen closed 7 years ago

pderksen commented 8 years ago

It looks like HS can't tie the customer to the EDD payment when the email for the payment is not the primary one. Using latest on dev branch of this plugin at https://github.com/dannyvankooten/edd-helpscout/commit/0e39e991ceeae62038cbb64f2cc890dc7da51773.

image

For this example, bbb@gmail.com is the email tied to the EDD payment.

Past versions of edd-helpscout used to check secondary or beyond emails of the HS customer to try and tie to the EDD payment if the first email didn't work.

dannyvankooten commented 8 years ago

Hi @pderksen,

What's the subject line of the conversation that's causing this error?

pderksen commented 8 years ago

Here's a sampling of a few with the error:

WP Simple Pay Support - Change Pay button color, Add "Name" in Stripe Popup Re: WP Simple Pay Support - How to translate validation error message? Re: WP Simple Pay Support - Parse Mailchimp tracking to Thank you page

All of them with multiple emails associated with their HS customer profile. It's as if it gives up looking at any email after the first in HS when trying to match the EDD payment.

Thanks!

pderksen commented 7 years ago

For now I went back to edd-helpscout 1.1.1, and the old HS app callback URL format, and this is working again.

If I can help out in any way going forward let me know.

dannyvankooten commented 7 years ago

Finally ran into this myself @pderksen, should be all good now!

pderksen commented 7 years ago

@dannyvankooten Thanks...it works!