Reply
Highlighted
Member
Posts: 9
Registered: ‎10-27-2015

authorize.net send confirmation email to customer

Does email paramater go in the customerAddressType, or customerDataType? Intellisense shows both. I need to send email so authorize.net can auto-send a confirmation email.

 

customerAddressType addressDetails = new customerAddressType { address = a_address, city = a_city, state = a_state, country = a_country, zip = a_zip, email = "_@live.com" };

 

var transactionRequest = new transactionRequestType
{
transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),
amount = a_amount,//133.45m,
payment = paymentType,
billTo = addressDetails,

};

 

OR

customerAddressType addressDetails = new customerAddressType { address = a_address, city = a_city, state = a_state, country = a_country, zip = a_zip };

customerDataType email = new customerDataType { email = "_@live.com" };

 

var transactionRequest = new transactionRequestType
{
transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),
amount = a_amount,//133.45m,
payment = paymentType,
billTo = addressDetails,
customer = email

};

 thx

Member
Posts: 9
Registered: ‎10-27-2015

Re: authorize.net send confirmation email to customer

hello?