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

问题描述 投票:1回答:1

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

对于我们软件的其他支付网关集成,要更新卡号或帐单地址,用户只需删除存储的令牌并发送新的授权或捕获事务。然后生成新令牌。

似乎Authorize.net根据卡号匹配现有客户配置文件,并返回与以前相同的令牌号。

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

在更新现有客户资料中的帐单邮寄地址时是否应该进行特定调用,而不更改其他信息?

authorize.net authorize.net-cim
1个回答
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"
      }
   }
}
© www.soinside.com 2019 - 2024. All rights reserved.