Hi @ucarmetin
The change in button size you’re experiencing with version 2.1.0 of the plugin is most likely due to an update we made to enhance compatibility with certain page builders, including Elementor Pro. The update modifies the default render hooks on the single product page and the Checkout page.
However, as it turns out, this update can cause unintended side effects in some scenarios. Specifically, if a page builder isn’t being used for a custom checkout page and the active theme doesn’t support all WooCommerce hooks, this can lead to similar issues to what you’re experiencing.
To temporarily resolve this, you can use the following filter to restore the default behavior:
add_filter('woocommerce_paypal_payments_checkout_button_renderer_hook', function() {
return 'woocommerce_review_order_after_payment';
});
Please note that we’ve recognized this problem and have decided to revert this change in the next update. After that, users with a custom Checkout page created through a page builder might need to apply a manual fix.
The team is always looking for the right balance, but the button rendering can occasionally present issues due to the wide variety of themes and page builders.
I hope this helps!
Kind regards,
Niklas