0

有什么方法可以使用 ruby​​ authorize.net gem 将地址详细信息(例如名字、姓氏和帐单地址详细信息)传递给 authorize.net AIM
我没有从https://github.com/joevandyk/authorize-net获得任何帮助传递地址详细信息。
任何帮助将不胜感激。

4

1 回答 1

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
于 2013-07-23T17:09:10.670 回答