cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

I've got 2 email receipts when validatecustomerpaymentprofile

Everytime I run the code below. I got one authorization when controller is  execute and another one when get API response. Both email have 2 different authorization code with amoutn of $0.00 and they both are void status. Did I do something wrong?

 

 

ApiOperationBase<ANetApiRequest, ANetApiResponse>.RunEnvironment = AuthorizeNet.Environment.PRODUCTION;
// define merchant information(authentication / transaction ID
ApiOperationBase<ANetApiRequest, ANetApiResponse>.MerchantAuthentication = new merchantAuthenticationType()
{
name = "xxxxx",
ItemElementName = ItemChoiceType.transactionKey,
Item = "xxxxxxxxxx"
};
var validate_controler = new validateCustomerPaymentProfileController(new validateCustomerPaymentProfileRequest()
{
customerProfileId = customer_id,
customerPaymentProfileId = payment_id,
validationMode = validationModeEnum.liveMode
});
validate_controler.Execute();
var validate_response = validate_controler.GetApiResponse();
//var validate_response = validate_controler.ExecuteWithApiRespons

2 REPLIES 2

192.168.1.2 

192.168.1.0 


It is also a default gateway that is used worldwide by the various popular router and modem brands.

ramkumar45
Member

192.168.1.1

192.168.1.10


It is also a default gateway that is used worldwide by the various popular router and modem brands.