search for: add_customer_data

Displaying 1 result from an estimated 1 matches for "add_customer_data".

2010 Mar 22
2
ActiveMerchant, Authorize.net and Email Receipts
...t, using the options hash in AuthorizeNetGateway#purchase, Authorize.net was still not sending receipts. I investigated further, and found this in the ActiveMerchant code: BEGIN RUBY module ActiveMerchant #:nodoc: module Billing #:nodoc: class AuthorizeNetGateway < Gateway ...snip... def add_customer_data(post, options) if options.has_key? :email post[:email] = options[:email] post[:email_customer] = false end if options.has_key? :customer post[:cust_id] = options[:customer] end if options.has_key? :ip post[:customer_i...