• Resolved eveslage

    (@eveslage)


    recently every payment attempt failed. we see this error in the log files:

    [php:error] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Ni_Payment_Gateway_Charge does not have a method "save_payment_gateway_charge_from_checkout" in /var/www/XXX/wp-includes/class-wp-hook.php:341\nStack trace:\n#0 /var/www/XXX/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#1 /var/www/XXX/wp-includes/plugin.php(522): WP_Hook->do_action()\n#2 /var/www/XXX/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1352): do_action()\n#3 /var/www/XXX/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(596): WC_Checkout->process_checkout()\n#4 /var/www/XXX/wp-includes/class-wp-hook.php(341): WC_AJAX::checkout()\n#5 /var/www/XXX/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#6 /var/www/XXX/wp-includes/plugin.php(522): WP_Hook->do_action()\n#7 /var/www/XXX/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(127): do_action()\n#8 /var/www/XXX/wp-includes/class-wp-hook.php(341): WC_AJAX::do_wc_ajax()\n#9 /var/www/XXX/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#10 /var/www/XXX/wp-includes/plugin.php(522): WP_Hook->do_action()\n#11 /var/www/XXX/wp-includes/template-loader.php(23): do_action()\n#12 /var/www/XXX/wp-blog-header.php(19): require_once('…')\n#13 /var/www/XXX/index.php(17): require('…')\n#14 {main}\n thrown in /var/www/XXX/wp-includes/class-wp-hook.php on line 341, referer: https://XXX/kasse/

    We run your plugins:
    Ni Cost of Goods for WooCommerce
    Ni WooCommerce Cost Of Goods Pro

    After disabling them, the checkout worked again. Can you please tell me how to fix this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • koltz

    (@koltz)

    I am experiencing the same issue, customers could not check out since last plugin update. Finally found something in the logs that referenced Ni WooCommerce Payment Gateway which I do not have installed. This plugin is the only one I had installed from Ni so I disabled and worked users can checkout again..

    • This reply was modified 1 month ago by koltz.
    Plugin Author Anzar Ahmed

    (@anzia)

    We apologize for the inconvenience caused. The issue has been fixed. Kindly update the plugin to the latest version (3.4.4).

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.