Authorize.net不更新现有CIM记录上的账单地址

时间:2019-03-11 18:51:37

标签: authorize.net authorize.net-cim

我们正在使用XML集成到Authorize.net CIM

对于我们软件的其他Payment Gateway集成,用户只需删除存储的令牌并发送新的授权或捕获交易,即可更新卡号或账单地址,即可进行更新。然后会生成一个新令牌。

Authorize.net似乎基于卡号与现有的客户资料匹配,并且返回与以前相同的令牌号。

如果我们想在不更改卡号的情况下更新账单地址,则不会通过常规电话将新账单地址保存到客户资料中。然后,AVS设置将阻止新事务通过。

在不更改其他信息的情况下更新现有客户资料上的帐单邮寄地址时,是否应该打特定电话?

1 个答案:

答案 0 :(得分:0)

您将使用updateCustomerPaymentProfileRequest API端点来更新付款资料:

{
   "updateCustomerPaymentProfileRequest":{
      "merchantAuthentication":{
         "name":"",
         "transactionKey":""
      },
      "customerProfileId":"12345678",
      "paymentProfile":{
         "billTo":{
            "firstName":"John",
            "lastName":"Doe",
            "company":"",
            "address":"123 Main St.",
            "city":"Bellevue",
            "state":"WA",
            "zip":"98004",
            "country":"USA",
            "phoneNumber":"800-555-1234",
            "faxNumber":"800-555-1234"
         },
         "customerPaymentProfileId":"2345678"
      }
   }
}