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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)