Hello @davidperezgon
Indeed, in the latest version of the plugin, Pay Later is enabled by default for new integrations and may appear on the home page, shop, or product pages. But of course, you can disable it entirely or adjust it to your preferences. It will not re-enable itself again during future updates. Once you disable Pay Later, your preference will be respected going forward.
There are two main options:
1. Disable via plugin settings
Go to: WooCommerce > Settings > Payments > PayPal
Then look for a Pay Later Messaging sections/tab. There, you can disable messaging entirely or fine-tune where it appears (homepage, product pages, cart, etc.). Remember to use a ‘Save’ button. https://woocommerce.com/document/woocommerce-paypal-payments/pay-later/
2. Disable via code snippet
If you’d prefer to disable it through code, you can use the following filters in your theme’s functions.php file or a custom plugin:
add_filter('woocommerce_paypal_payments_product_buttons_paylater_disabled', '__return_true');
add_filter('woocommerce_paypal_payments_buttons_paylater_disabled', '__return_true');
This will remove both the Pay Later buttons and the Pay Later messaging across your site.
If you’re unsure which method fits best or if you still see it after applying changes, just let us know and we’ll clarify further.
Kind Regards,
Krystian
Hello @davidperezgon
Since we have not received any further communication from you, we are assuming that your issue has been resolved. Therefore, we mark this thread as resolved.
If you have any further questions or encounter a new issue, feel free to open a new thread or submit a ticket through our service desk. Please include the URL of this thread in your ticket for reference.
Kind regards,
Krystian