使用 Authorize.net 时,是否应将帐单地址传递给捕获方法?

When using Authorize.net, should the billing address be passed to the capture method?

我们已经将账单地址传递给授权方法。帐单地址是否还要在以后传递给捕获方法?

示例:

response = gateway.authorize(1000, credit_card, options_with_billing_address)
gateway.capture(1000, response.authorization, options_with_billing_address)

或者不需要将账单地址传递给捕获方法?喜欢:

response = gateway.authorize(1000, credit_card, options_with_billing_address)
gateway.capture(1000, response.authorization)

您不需要帐单地址,即可使用 authOnlyTransaction 获取先前授权的金额。但是,transactionType 应该是 priorAuthCaptureTransaction 并且 refTransId(原始授权交易的交易 ID)字段是必需的。