cancel
Showing results for 
Search instead for 
Did you mean: 

CIM: Authorize.Net Email Receipt missing Customer ID

 

When adding a customer profile with CIM, I am setting the third parameter of 'gateway.CreateCustomer' to our client ID number.

 

billing.AuthorizeProfileId = gateway.CreateCustomer(billing.Email, billing.FullName, client.ClientId.ToString()).ProfileID;


billing.PaymentProfileId = gateway.AddCreditCard(billing.AuthorizeProfileId, cardNumber, expirationMonth.Value, expirationYear.Value, cardCode, billToAddress);

 

The customer object that is returned from CreateCustomer correctly has the 'ID' property populated and everything is working properly.

 

<profile>
   <merchantCustomerId>
      14
   </merchantCustomerId>

 

The automatic email receipt however shows

 

==== CUSTOMER BILLING INFORMATION ===
Customer ID : none

 

 

It's not a big deal, but just wanted to point it out to y'all.

Vaslin
Member
2 REPLIES 2

Hello @Vaslin 

 

Thanks for bringing this to our attention.  Could you help us with a bit more information, for example which XML or SDK method you are using to process the transaction?

 

If you can help us with those details, we can work to duplicate your issue and determine how to address.

 

Richard

RichardH
Administrator Administrator
Administrator

Sure thing!

 

I was using ASP.NET MVC 5 with AuthorizeNet.1.8.3 from 

https://github.com/AuthorizeNet/sdk-dotnet