lib/braintree/customer_gateway.rb in braintree-2.66.0 vs lib/braintree/customer_gateway.rb in braintree-2.67.0
- old
+ new
@@ -71,14 +71,16 @@
_do_update(:post, "/customers/all/confirm_transparent_redirect_request", :id => params[:id])
end
def self._create_signature # :nodoc:
credit_card_signature = CreditCardGateway._create_signature - [:customer_id]
+ paypal_account_signature = PayPalAccountGateway._create_nested_signature
[
: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},
+ {:paypal_account => paypal_account_signature},
{:custom_fields => :_any_key_}
]
end
def _do_create(path, params=nil) # :nodoc: