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

Emails addresses starting with x followed by three additional x's fails with E00001 #131

Open
HeathNaylor opened this issue Apr 27, 2016 · 2 comments
Labels
feature-bug Bug in APIs/Feature

Comments

@HeathNaylor
Copy link

Conditions

When crafting the CreateCustomerProfileRequest and populating the profile via the setProfile method with a CustomerProfileType an E00001 error is thrown when the email starts with four x characters.

Example

In this example the email xxxxJohnSmith@yahoo.com will throw an E00001 error code

$customerprofile = new AnetAPI\CustomerProfileType();
$customerprofile->setDescription('John Smith);
$customerprofile->setEmail('xxxxJohnSmith@yahoo.com');

$request = new AnetAPI\CreateCustomerProfileRequest();
$request->setMerchantAuthentication($merchantAuthentication);
$request->setProfile($customerprofile);
$controller = new AnetController\CreateCustomerProfileController($request);
$response = $controller->executeWithApiResponse( ANetEnvironment::SANDBOX );
@ashtru
Copy link
Contributor

ashtru commented May 16, 2016

Email starting with 'xxxx' seems like a masked email address. But it should not be throwing E0001.

@mahngiel
Copy link

mahngiel commented May 16, 2016

Email starting with 'xxxx' seems like a masked email address.

The emails are certainly masked, which is what lead to the discovery of this issue.

But it should not be throwing E0001.

This issue can be observed on your own docs pages (see image attachment as well): http://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile

screenshot at may 16 12-31-34

@ashtru ashtru added the feature-bug Bug in APIs/Feature label Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-bug Bug in APIs/Feature
Development

No branches or pull requests

3 participants