Hello, when i make a test transaction i want customer spot to be filled with some info.I've tried to add customer by adding CustomerDataType object to TransactionRequest but customer info does not appear in sandbox(in C# language) . What is the other way to add a customer which would be visible in sandbox transactions window?
08-15-2016 06:16 AM
Hello @froz3nice
Could you provide more detail, for example a sample request and response from the gateway?
Richard
08-15-2016 06:35 AM
var transactionRequest = new transactionRequestType { transactionType = transactionTypeEnum.authCaptureTransaction.ToString(), amount = model.Price, payment = paymentType, customer = new customerDataType() { id = "1",email="jkl"}//just test values }; var request = new createTransactionRequest { transactionRequest = transactionRequest }; var controller = new createTransactionController(request); ChargeCreditCardResponse cr = new ChargeCreditCardResponse(); controller.Execute(); var response = controller.GetApiResponse();
The whole charging is working, but i can't figure out how to add customer info
08-15-2016 07:20 AM