NodeJS-SDK icon indicating copy to clipboard operation
NodeJS-SDK copied to clipboard

Valid email addresses marked as invalid (false positive)

Open TheDutchCoder opened this issue 3 years ago • 0 comments

Hi,

Not sure if this is the right repo, but my wife encountered an issue with Freshbooks (who uses wepay for their invoice transactions), where a valid email address was used, but wepay returned with an invalid_request ("Invalid parameter 'email' expected a valid email addresss", which also has a typo sss btw).

This seems to be cause by email addresses that use an & or - (didn't have the time to narrow it down more). Example: foo.bar+hi&[email protected] is a perfectly valid email address, but wepay seems to trip over it.

Email address formats like these are used fairly frequently in the Canadian Government, so this seems to be an issue that's worth investigating and fixing ;)

You can move it to the proper repo if this isn't the one (couldn't really find the "main" repo for Wepay which, I assume, is private).

TheDutchCoder avatar Jul 07 '21 01:07 TheDutchCoder