stripe-for-woocommerce icon indicating copy to clipboard operation
stripe-for-woocommerce copied to clipboard

Fix: is_available method bug

Open bogdanfix opened this issue 8 years ago • 0 comments

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!

bogdanfix avatar Mar 12 '16 08:03 bogdanfix