-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix: add supported subscriptions features before checking for existing attached hooks #4135
Conversation
@diegocurbelo do you see any possible issues if we move the |
None, I like the solution, it won't affect what we fixed in #4014 |
Thanks for working on this! |
We want to skip the hooks if this is not the first instance of this class, to ensure we are registering/attaching the hooks only once per payment method (ex woocommerce_scheduled_subscription_payment_sepa_debit). Having the check before the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
Fixes #4014 (comment)
Changes proposed in this Pull Request:
Testing instructions