Learn how to set up, customize, and expand the functionality of your WooCommerce products with our library of documentation and tutorials.

PayPal Braintree


  • Braintree for WooCommerce: Action and Filter Hooks

    Actions The [gateway_id] placeholders below can be ‘braintree_credit_card’ or ‘braintree_paypal’ wc_[gateway_id]_before_product_button_add_to_cart Triggered directly before the add to cart button (where PayPal “Buy Now” buttons are added). do_action( ‘wc_[gateway_id]_before_product_button_add_to_cart’, $product_id, $quantity, $variation_id, $cart_data ); wc_payment_gateway_[gateway_id]_payment_processed Fires when a payment is processed for an order. /** * Payment Gateway Payment Processed Action. * * Fires when a […]

  • PayPal Braintree

    Overview PayPal Braintree lets you accept credit cards and PayPal payments on your WooCommerce store via Braintree. Customers can save their credit card details or link a PayPal account to their WooCommerce user account for fast and easy checkout. PayPal Braintree includes full support for WooCommerce Subscriptions and WooCommerce Pre-Orders for both the credit card […]