Sending Customer name to Braintree
-
Hello,
I have a website using this plugin “WooCommerce PayPal Powered by Braintree Payment Gateway” and I wanted to know if there are any hooks that would allow me to pass names from billing info on the checkout page to braintree as Customer. Something like this:
result = Braintree::Transaction.sale( :amount => "100.00", :order_id => "order id", :merchant_account_id => "a_merchant_account_id", :payment_method_nonce => nonce_from_the_client, :customer => { :first_name => "Drew", :last_name => "Smith", :company => "Braintree", :phone => "312-555-1234", :fax => "312-555-1235", :website => "https://www.example.com", :email => "[email protected]" }, :billing => { :first_name => "Drew", :last_name => "Smith", :company => "Braintree", :street_address => "1 E Main St", :extended_address => "Suite 403", :locality => "Chicago", :region => "IL", :postal_code => "60622", :country_code_alpha2 => "US" }, :shipping => { :first_name => "Drew", :last_name => "Smith", :company => "Braintree", :street_address => "1 E 1st St", :extended_address => "Suite 403", :locality => "Bartlett", :region => "IL", :postal_code => "60103", :country_code_alpha2 => "US" }, :options => { :submit_for_settlement => true }, )
, because whenever I go to braintree advanced search Customer column is missing information from whom the money were received. Please let me know. Thanks
https://www.ads-software.com/plugins/woocommerce-gateway-paypal-powered-by-braintree/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sending Customer name to Braintree’ is closed to new replies.