有没有什么方法可以使用ruby authorize.net gem将地址详细信息(如first_name、last_name和账单地址详细信息)传递给authorize.net AIM
我没有得到任何帮助https://github.com/joevandyk/authorize-net以传递地址详细信息
任何帮助都将不胜感激。
考虑使用ActiveMerchant,您可以将其配置为使用Authorize.net作为网关
参见
- http://railscasts.com/?tag_id=23
- 第144集和第145集
- http://activemerchant.org/
- https://github.com/Shopify/active_merchant
- http://rdoc.info/github/Shopify/active_merchant/master/frames
轨道铸造#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