That sounds like a WooPayments issue, not a PayPal plugin issue. I can confirm that this issue is reproducible and it’s happening with our Stripe plugin as well.
If WooPayments is suppressing 3rd party payment options that will need to be addressed. I recommend you create a support thread on their WordPress page and inform them of the issue.
Alright, will wait for a WooPayments update then.
Thanks for the swift reply!
Here is an update, which I will add to the support thread you created on the WooPayments page.
The reason this is happening is our plugin’s hook into the init action triggered by WordPress. https://developer.projectdmc.org/reference/hooks/init/. Typically that’s the action you want to use for plugin setup. WooCommerce triggers a filter called woocommerce_payment_gateways that all payment integrations use to add their payment methods.
In this latest update for WooPayments, they are hooking into the setup_theme action and initializing the WC_Payment_Gateways class before our plugins can register themselves because setup_theme is triggered before init.
Rather than wait, we’re just going to release an update because this could happen again and I don’t like being dependent on 3rd parties for this sort of thing.
Looks like they already released an update and it does resolve the issue. I now see our payment gateways.
https://projectdmc.org/plugins/woocommerce-payments/#developers
