如何将帐单邮件地址详细信息传递给authorize.net Advanced Merchant Integration(AIM) - 我使用的是ruby authorize.net gem

时间:2013-07-22 12:53:51

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

我们是否有办法使用ruby authorize.net gem将author_name,last_name和账单地址详细信息等地址详细信息传递给authorize.net AIM 我没有得到https://github.com/joevandyk/authorize-net的任何帮助来传递地址详细信息 任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:1)

考虑使用ActiveMerchant,您可以将其配置为使用Authorize.net作为网关

来自rails casts#145

response = GATEWAY.purchase(price_in_cents, credit_card, purchase_options)
# where credit_card is a hash of all card info
#  - type, number, cvv, first and last name, etc
# and purchase_options is also a hash and contains additional info like billing address