lib/active_merchant/billing/gateways/data_cash.rb in activemerchant-1.31.1 vs lib/active_merchant/billing/gateways/data_cash.rb in activemerchant-1.32.0

- old
+ new

@@ -63,11 +63,11 @@ # Set to true to set up a recurring historic transaction account be set up. # Only supported for :visa, :master and :american_express card types # See http://www.datacash.com/services/recurring/historic.php for more details of historic transactions. # * <tt>:address</tt>:: billing address for card # - # The continuous authority reference will be available in response#params['ca_referece'] if you have requested one + # The continuous authority reference will be available in response#params['ca_reference'] if you have requested one def purchase(money, authorization_or_credit_card, options = {}) requires!(options, :order_id) if authorization_or_credit_card.is_a?(String) request = build_purchase_or_authorization_request_with_continuous_authority_reference_request(AUTH_TYPE, money, authorization_or_credit_card, options) @@ -91,11 +91,11 @@ # Set to true to set up a recurring historic transaction account be set up. # Only supported for :visa, :master and :american_express card types # See http://www.datacash.com/services/recurring/historic.php for more details of historic transactions. # * <tt>:address</tt>:: billing address for card # - # The continuous authority reference will be available in response#params['ca_referece'] if you have requested one + # The continuous authority reference will be available in response#params['ca_reference'] if you have requested one def authorize(money, authorization_or_credit_card, options = {}) requires!(options, :order_id) if authorization_or_credit_card.is_a?(String) request = build_purchase_or_authorization_request_with_continuous_authority_reference_request(AUTH_TYPE, money, authorization_or_credit_card, options) @@ -446,10 +446,10 @@ xml.tag! :client, @options[:login] xml.tag! :password, @options[:password] end end - # Add credit_card detals to the passed XML Builder doc + # Add credit_card details to the passed XML Builder doc # # Parameters: # -xml: Builder document that is being built up # -credit_card: ActiveMerchant::Billing::CreditCard object # -billing_address: Hash containing all of the billing address details