Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 1
Registered: ‎08-30-2021

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

Member
Posts: 9
Registered: ‎05-17-2021

Re: I've got 2 email receipts when validatecustomerpaymentprofile

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.

Highlighted
Member
Posts: 9
Registered: ‎05-17-2021

Re: I've got 2 email receipts when validatecustomerpaymentprofile

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.