lib/braintree/customer_gateway.rb in braintree-4.20.0 vs lib/braintree/customer_gateway.rb in braintree-4.21.0
- old
+ new
@@ -73,11 +73,13 @@
:amount,
{:shipping => paypal_options_shipping_signature}
],
]
[
- :company, :email, :fax, :first_name, :id, :last_name, :phone, :website,
+ :company, :email, :fax, :first_name, :id,
+ {:international_phone => [:country_code, :national_number]},
+ :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},
{:tax_identifiers => [:country_code, :identifier]},
@@ -137,10 +139,12 @@
:amount,
{:shipping => paypal_options_shipping_signature}
],
]
[
- :company, :email, :fax, :first_name, :id, :last_name, :phone, :website,
+ :company, :email, :fax, :first_name, :id,
+ {:international_phone => [:country_code, :national_number]},
+ :last_name, :phone, :website,
:device_data, :payment_method_nonce, :default_payment_method_token,
{:credit_card => credit_card_signature},
{:tax_identifiers => [:country_code, :identifier]},
{:options => options},
{:custom_fields => :_any_key_}