you have an entire list for conditions, only 1 is missing example i have multi currency website and like PAYEER gateway does not accept GBP, i would like to disable it when someone has the website in GBP, but there is no option for that in your plugin
]]>Hi.
The plugin has been deactivated by renaming its directory in CPanel.
The problem:
Fatal error: Uncaught TypeError: Unsupported operand types: string - string in /home/arun/public_html/astrologiasonora/wp-content/plugins/conditional-payment-gateways-for-woocommerce-pro/includes/class-alg-wc-cpg-core.php:93 Stack trace: #0 /home/arun/public_html/astrologiasonora/wp-content/plugins/conditional-payment-gateways-for-woocommerce-pro/includes/class-alg-wc-cpg-core.php(140): Alg_WC_CPG_Core->is_equal_float('0', 'Cart\xC3\xA3o de Cr\xC3\xA9...') #1 /home/arun/public_html/astrologiasonora/wp-includes/class-wp-hook.php(324): Alg_WC_CPG_Core->available_payment_gateways(Array) #2 /home/arun/public_html/astrologiasonora/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(333): apply_filters('woocommerce_ava...', Array) #4 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(89): WC_Payment_Gateways->get_available_payment_gateways() #5 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(67): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments::has_gateways() #6 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php(106): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments->is_complete() #7 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(305): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments->can_view() #8 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}(Object(Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments)) #9 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(306): array_filter(Array, Object(Closure)) #10 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(240): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->get_viewable_tasks() #11 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(411): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->is_complete() #12 /home/arun/public_html/astrologiasonora/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php(433): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::setup_tasks_remaining() #13 /home/arun/public_html/astrologiasonora/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskLists::menu_task_count('') #14 /home/arun/public_html/astrologiasonora/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /home/arun/public_html/astrologiasonora/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #16 /home/arun/public_html/astrologiasonora/wp-admin/includes/menu.php(161): do_action('admin_menu', '') #17 /home/arun/public_html/astrologiasonora/wp-admin/menu.php(422): require_once('/home/arun/publ...') #18 /home/arun/public_html/astrologiasonora/wp-admin/admin.php(158): require('/home/arun/publ...') #19 /home/arun/public_html/astrologiasonora/wp-admin/plugins.php(10): require_once('/home/arun/publ...') #20 {main} thrown in /home/arun/public_html/astrologiasonora/wp-content/plugins/conditional-payment-gateways-for-woocommerce-pro/includes/class-alg-wc-cpg-core.php on line 93
On the 19th april I asked for urgent help. Up to now no one has given me attention on this issue.
I have tried to do a fresh installation, but it does not work (there should be a tutorial on how to delete the tables of this plugin).
I expect URGENT help to reinstall the plugin and also to configure it to my need.
Server environment information: FILE INFO
]]>Subscription products are not searchable. Does this functionality require pro version?
]]>WooCommerce Conditional Payments is causing the following error: NOTICE: PHP message: get_cart was called incorrectly
We’re running a multisite, WordPress 6.4.1, PHP 7.4, WooCommerce 8.3.1
Any suggestions for how to fix would be appreciated (other than updating PHP to 8.x which we can’t do at the moment).
]]>I get a fatal error on my woocommerce cart-page when the plugin ‘Conditional Payment Methods For WooCommerce’ is active. But I need this plugin on my checkout page. How can I fix this? Is this an error in the plugin itself? How can I get rid of it?
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /data/sites/web/ytabe/www/wp-content/plugins/conditional-payment-methods-for-woocommerce/includes/rules/class-wc-cpm-by-location.php:178 Stack trace: #0 /data/sites/web/ytabe/www/wp-content/plugins/conditional-payment-methods-for-woocommerce/includes/rules/class-wc-cpm-by-location.php(178): array_keys(false) #1 /data/sites/web/ytabe/www/wp-content/plugins/conditional-payment-methods-for-woocommerce/includes/class-wc-cpm-controller.php(177): WC_CPM_By_Location->validate(Array) #2 /data/sites/web/ytabe/www/wp-includes/class-wp-hook.php(310): WC_CPM_Controller->filter_payment_gateways(Array) #3 /data/sites/web/ytabe/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #4 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters(‘woocommerce_ava…’, Array) #5 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3921): WC_Payment_Gateways->get_available_payment_gateways() #6 /data/sites/web/ytabe/www/wp-includes/class-wp-hook.php(310): wc_get_pay_buttons(”) #7 /data/sites/web/ytabe/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #8 /data/sites/web/ytabe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/templates/cart/cart-totals.php(107): do_action(‘woocommerce_pro…’) #10 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/data/sites/web…’) #11 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2174): wc_get_template(‘cart/cart-total…’) #12 /data/sites/web/ytabe/www/wp-includes/class-wp-hook.php(310): woocommerce_cart_totals(”) #13 /data/sites/web/ytabe/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #14 /data/sites/web/ytabe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/templates/cart/cart.php(191): do_action(‘woocommerce_car…’) #16 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/data/sites/web…’) #17 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template(‘cart/cart.php’) #18 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output(Array) #19 /data/sites/web/ytabe/www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper(Array) #20 /data/sites/web/ytabe/www/wp-includes/shortcodes.php(433): WC_Shortcodes::cart(”, ”, ‘woocommerce_car…’) #21 [internal function]: do_shortcode_tag(Array) #22 /data/sites/web/ytabe/www/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(woocom…’, ‘do_shortcode_ta…’, ‘[woocommerce_ca…’) #23 /data/sites/web/ytabe/www/wp-includes/class-wp-hook.php(310): do_shortcode(‘[woocommerce_ca…’) #24 /data/sites/web/ytabe/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[woocommerce_ca…’, Array) #25 /data/sites/web/ytabe/www/wp-includes/post-template.php(256): apply_filters(‘the_content’, ‘<!– wp:shortco…’) #26 /data/sites/web/ytabe/www/wp-content/themes/kpot-theme/page.php(13): the_content() #27 /data/sites/web/ytabe/www/wp-includes/template-loader.php(106): include(‘/data/sites/web…’) #28 /data/sites/web/ytabe/www/wp-blog-header.php(19): require_once(‘/data/sites/web…’) #29 /data/sites/web/ytabe/www/index.php(17): require(‘/data/sites/web…’) #30 {main} thrown in/data/sites/web/ytabe/www/wp-content/plugins/conditional-payment-methods-for-woocommerce/includes/rules/class-wc-cpm-by-location.php
]]>Will Hpos support come for this plugin? thanks.
]]>Hi,
My woocommerce workshop has 4 enabled payment method.
Editing conditional payment rules I can enable/disable payment methods, but only 3 payment methods are available there. I’m not able to disable ‘cash on delivery’ payment method.
This is a bug, or I have to set something differently?
Zsolt
]]>Would be nice if you can add “if subscription” condition.
]]>I created rules to exclude paypal based on product but paypal was still shown at checkout ??
]]>Hi,
Only 1 product out of my 7 is detected when making rules (they are all similar products tho). “No results found” when I enter letters / names of these products.
]]>e.g. I have a category that has a Stripe Payment Gateway.
I have others that require a quote for shipping before the sale is processed!
TIA, Dave
]]>I am having a problem using your plugin,
It is saying “Critical error” when adding a condition, Find an image on this link to see the error
]]>Hello there.
I’m having some difficulties with the free version of the plugin.
I added a new rule, but whenever i try to add the condition of simple/variable product, it doesn’t show any product, even after i’ve put the SKU.
Can you please help me?
Thank you in advance.
Best regards.