Skip to content

Commit 6b50c17

Browse files
author
srathod
committed
- Added randomness for merchant customer id in CreateCustomerProfile.
1 parent 3d4748c commit 6b50c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/authorize/sample/CustomerProfiles/CreateCustomerProfile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static ANetApiResponse run(String apiLoginId, String transactionKey, Stri
2929
customerPaymentProfileType.setPayment(paymentType);
3030

3131
CustomerProfileType customerProfileType = new CustomerProfileType();
32-
customerProfileType.setMerchantCustomerId("Merchant_Customer_ID");
32+
customerProfileType.setMerchantCustomerId("Merchant_Customer_ID_" + System.currentTimeMillis());
3333
customerProfileType.setDescription("Profile description here");
3434
customerProfileType.setEmail(eMail);
3535
customerProfileType.getPaymentProfiles().add(customerPaymentProfileType);

0 commit comments

Comments
 (0)