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
10-28-2015 12:27 PM
hello?
10-29-2015 07:59 AM