AuthorizeNet / sdk-dotnet

.Net SDK for Authorize.Net API
Other
149 stars 205 forks source link

CreateCustomerProfile does not return the duplicate ID. #264

Open nhustak opened 5 years ago

nhustak commented 5 years ago

The duplicate detection built into the Create Customer & CustomerPayment profiles is very useful, however:

CreateCustomerPaymentProfile returns the customerPaymentProfileId filled when a duplicate is detected so you can then use the ID.

CreateCustomerProfile returns the same E00039 allowing us to detect the duplicate but does not return the customerProfileID filled in.

It is possible to parse it from the error message (which is what I am doing for now) but obviously that's not a great idea.

Thanks!

gnongsie commented 5 years ago

Hi, Thank you for your suggestion. I will relay this to the relevant team to see if anything can be done.