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

时间:2017-05-22 07:17:07

标签: ruby-on-rails authorize.net activemerchant

我们已将结算地址传递给授权方法。帐单地址是否仍会在以后传递给捕获方法?

示例:

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)

1 个答案:

答案 0 :(得分:1)

您不需要帐单邮寄地址,以使用authOnlyTransaction获取以前授权的金额。但是,transactionType应为priorAuthCaptureTransaction,并且 refTransId (原始授权事务的事务ID)字段是必需的。