事务未发生给出错误错误E00040客户资料ID或客户付款资料ID

我正在使用AuthorizeAndCapture方法在沙盒环境中针对特定金额启动事务。

下面是使用的代码。

var customerGateWay =new CustomerGateway(_authorizeNetConfiguration,_loggerFactory);

var customerResponse = await customerGateWay.getcustomerAsync(company.Company.ExternalCompanyProfileId);
//Getting response with profile id in customerResponse 
var response = customerGateWay.AuthorizeAndCapture(company.Company.ExternalCompanyProfileId,customerResponse.ProfileID,totalAmount);
//response is giving this error Error E00040 Customer Profile ID or Customer Payment Profile ID

预期输出为transactionId,但给出此错误E00040 客户资料ID或客户付款资料ID

ii328397830 回答:事务未发生给出错误错误E00040客户资料ID或客户付款资料ID

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3125146.html

大家都在问