lib/braintree/customer_gateway.rb in braintree-2.63.0 vs lib/braintree/customer_gateway.rb in braintree-2.64.0

- old
+ new

@@ -74,10 +74,11 @@ def self._create_signature # :nodoc: credit_card_signature = CreditCardGateway._create_signature - [:customer_id] [ :company, :email, :fax, :first_name, :id, :last_name, :phone, :website, :device_data, :payment_method_nonce, + {:risk_data => [:customer_browser, :customer_ip]}, {:credit_card => credit_card_signature}, {:custom_fields => :_any_key_} ] end @@ -122,10 +123,10 @@ credit_card_signature = CreditCardGateway._update_signature - [:customer_id] credit_card_options = credit_card_signature.find { |item| item.respond_to?(:keys) && item.keys == [:options] } credit_card_options[:options] << :update_existing_token [ :company, :email, :fax, :first_name, :id, :last_name, :phone, :website, - :device_data, :payment_method_nonce, + :device_data, :payment_method_nonce, :default_payment_method_token, {:credit_card => credit_card_signature}, {:custom_fields => :_any_key_} ] end end