Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
174 stars 69 forks source link

BNPL payment methods and PMME are still enabled when WooPayments gateway is disabled #9390

Closed pierorocca closed 1 month ago

pierorocca commented 2 months ago

Describe the bug

To Reproduce

On shortcode, disable WooPayments gateway in WooPayments Settings Shop and observe that BNPL payment methods and PMME are enabled throughout the store

Expected behavior

No payment methods are enabled on the front-end if the gateway is disabled (plugin still activated)

image

image

image

c-shultz commented 1 month ago

@FangedParakeet @bborman22 Are there any lessons learned here that we can apply to v2? We had some messy enablement logic with WooPay as well. Looks like there's a lot of complexity in this area that could potentially be better solved at an architecture level.

danielmx-dev commented 1 month ago

Please add your planning poker estimate with Zenhub @FangedParakeet