Is it possible to hide paypal button from braintree dropin UI ? I am thinking to have custom paypal button for paypal (based on client demand and design) and would like to use interface provided by braintree dropin for credit card payment processing.I am using PHP and javascript.
Thanks.
I work at Braintree. If you have more detailed questions, please get in touch with our support team.
In the current major version of the drop-in, showing the PayPal button is a configurable option.
In previous versions, f you're using Braintree for your PayPal integration, and you're using the drop-in UI, the PayPal button will show up. If you don't want the PayPal button to show up because you don't want to use PayPal through your Braintree integration, and you haven't yet updated to the current version, email [email protected] and they'll disable it for you.
Apparently this is possible since in v2.15.0 they added a headless
option.
Example code: https://gist.github.com/danielwu426/70eac6b34ab7491610f0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With