rdavenport3
Forum Replies Created
-
Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Paypal functionalityThe last code I posted fixed the issue for me while adjusting the user experience to what I wanted.
Thanks for the follow-up.
Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Paypal functionalityMy current fix for this issue which seems to retain full functionality on the checkout page is the following CSS code:
#paypal-braintree-button-container {
visibility: hidden !important;
}Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Paypal functionalityThank you Mike,
I got the code in and it worked well on the cart page, however, there is a new issue on the checkout page:
Error: PayPal Powered by Braintree did not supply a payment nonce. Please try again later or use another means of payment.
Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Paypal functionalityHello Mike, Thanks so much for the reply. I have not done any .php editing, but your reply got me looking. Which .php file do you suggest I put this in?
Also, now that you have me looking- I found another piece of code that is also of interest for doing this:
/** * Whether checkout with PayPal from cart page is supported. * * @since 1.2.2 * * @return bool Returns true if supported */ private function _is_checkout_from_cart_supported() { return is_cart() && $this->does_checkout_with_paypal_support_shop_currency() && ! $this->does_cart_contain_any_subscriptions(); }Thank you for the help. Let me know where you suggest adding your filter or if I can just make this a constant false boolean. Would there be any ripple effects for that?