Skip to content

Commit ffd8611

Browse files
committed
Removing validation for customerProfileId as it is not longer required. This validation causes an exception when trying to get customer profile by merchant customer id (or email). See documentation here: https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-profile
1 parent 10b7be2 commit ffd8611

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/net/authorize/api/controller/GetCustomerProfileController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ protected void validateRequest() {
1616
GetCustomerProfileRequest request = this.getApiRequest();
1717

1818
//validate required fields
19-
if ( null == request.getCustomerProfileId()) throw new NullPointerException("CustomerProfileId cannot be null");
20-
19+
2120
//validate not-required fields
2221
//creditCardOne.setCardCode("");
2322
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy