Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Fix: is_available method bug #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bogdanfix
Copy link

Hi Stephen. Found that bug today.

->is_available() method was returning false every time, when called outside
of native checkout process. For example, if we call $woocommerce->payment_gateways->get_available_payment_gateways(); externally, in some other plugin or function.

Thanks for awesome plugin!

is_available method was returning false every time, when called outside
of native checkout process. For example, if we call
$woocommerce->payment_gateways->get_available_payment_gateways(); in
plugin.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant