Unable to disable PayLater for subscription products only
-
Hello,
I’m experiencing an issue with the PayPal Payments for WooCommerce plugin on my WordPress site. I’m trying to disable the PayLater option only for subscription products while keeping it enabled for regular products. However, I haven’t been able to achieve this despite trying several approaches.
What I’ve tried:
- I’ve attempted to use the ‘ppcp_disable_funding’ filter to disable PayLater when a subscription product is in the cart.
- I’ve also tried using the ‘ppcp_payment_method_funding_sources’ filter to remove PayLater from the funding sources for subscription products.
- I’ve ensured that my site cache is cleared after making these changes.
Despite these attempts, PayLater still appears as an option at checkout even when there’s only a subscription product in the cart.
Could you please provide guidance on how to correctly implement this functionality? Is there a recommended way to disable PayLater specifically for subscription products while keeping it enabled for regular products?
Any help or direction would be greatly appreciated. Thank you in advance for your assistance.
Best regards
- You must be logged in to reply to this topic.