Skip to main content
Articles

PayPal REALLY Wants Pay Later Messaging On Your WooCommerce Store

98
0

The last few versions of the PayPal gateway for WooCommerce are mysteriously broke. Turning the Pay Later toggles to off does nothing. The Settings will not save and the Pay Later or Pay in Installments ads on the cart and checkout pages to not go away.

Joke: This is a feature, not a bug.

Anyways, I had to find the Github for the PayPal plugin source code to find any information on this issue, as it’s not listed on either WooCommerce’s or PayPal’s help and support documentation.

Here is the documentation from the Git pages that SHOULD be on the plugin support page:

Programmatically disable Pay Later

Open your themes functions and add these filters to disable the Pay Later button & messaging on the single product pages and the rest of the site:


add_filter('woocommerce_paypal_payments_product_buttons_paylater_disabled', '__return_true');
add_filter('woocommerce_paypal_payments_buttons_paylater_disabled', '__return_true');

Disable Pay Later messaging:

Learn more here.

Corner Icon Render
Corner Icon Render
Corner Icon Render
Corner Icon Render How Can I Help You?