Displaying 1 result from an estimated 1 matches for "email_custom".
Did you mean:
email_customer
2010 Mar 22
2
ActiveMerchant, Authorize.net and Email Receipts
...er, 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_ip] = options[:ip]
end
end
...etc...
END RUBY
add_customer_data is called within purchase to process its...