Authorize.net新生成的密钥在woo Commerce Authorize.net付款网关中不起作用

问题描述

Authorize.net新生成的密钥在woo Commerce authorize.net付款网关中不起作用。

我有一个authorize.net的旧密钥。运行正常,我测试了几次。

但是,当我从authorize.net帐户生成新的交易密钥和签名密钥并将其放在WooCommerce authorize.net设置上时。然后用带卡号,有效期和cvp的authorize.net下订单。它显示以下错误

"Code: E00003,Message: The element 'getCustomerPaymentProfileRequest' in
 namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child
 element 'customerPaymentProfileId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
 List of possible elements expected: 'clientId,refId,customerProfileId'
 in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
 An error occurred,please try again or try an alternate form of payment.

解决方法

您的凭据问题可能会触发E00007,您正在收到的错误提示可能未设置 customerProfileId ,您可能要检查提交的原始请求,然后查看授权getCustomerPaymentProfileRequest的.Net API参考。