Error when I refund.
-
Hello.
As the title, the plugin will error when i refound the order in current version. Thereis the error massage below.
Thank for help.WordPress版本6.2.2 目前启用的主题:Blocksy(1.8.94 版本) 当前插件:Payment Gateway Based Fees and Discounts for WooCommerce(版本2.10.2) PHP版本8.1.9 错误详情 ============ 错误类型E_ERROR发生在文件/var/www/shop/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-alg-wc-order-fees.php的114行。错误信息:Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_payment_method() in /var/www/shop/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-alg-wc-order-fees.php:114 Stack trace: #0 /var/www/shop/wp-includes/class-wp-hook.php(310): Alg_WC_Order_Fees->alg_wc_cf_update_order_fees() #1 /var/www/shop/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /var/www/shop/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /var/www/shop/wp-includes/post.php(4715): do_action() #4 /var/www/shop/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(97): wp_insert_post() #5 /var/www/shop/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): Abstract_WC_Order_Data_Store_CPT->create() #6 /var/www/shop/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(214): WC_Data_Store->create() #7 /var/www/shop/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1849): WC_Abstract_Order->save() #8 /var/www/shop/wp-content/plugins/woocommerce/includes/wc-order-functions.php(605): WC_Abstract_Order->update_taxes() #9 /var/www/shop/wp-content/plugins/woocommerce/includes/wc-order-functions.php(842): wc_create_refund() #10 /var/www/shop/wp-includes/class-wp-hook.php(310): wc_order_fully_refunded() #11 /var/www/shop/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #12 /var/www/shop/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /var/www/shop/wp-content/plugins/woocommerce/includes/class-wc-order.php(387): do_action() #14 /var/www/shop/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition() #15 /var/www/shop/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(699): WC_Order->save() #16 /var/www/shop/wp-includes/class-wp-hook.php(310): WC_Meta_Box_Order_Data::save() #17 /var/www/shop/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #18 /var/www/shop/wp-includes/plugin.php(517): WP_Hook->do_action() #19 /var/www/shop/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(258): do_action() #20 /var/www/shop/wp-includes/class-wp-hook.php(310): WC_Admin_Meta_Boxes->save_meta_boxes() #21 /var/www/shop/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #22 /var/www/shop/wp-includes/plugin.php(517): WP_Hook->do_action() #23 /var/www/shop/wp-includes/post.php(4715): do_action() #24 /var/www/shop/wp-includes/post.php(4817): wp_insert_post() #25 /var/www/shop/wp-admin/includes/post.php(439): wp_update_post() #26 /var/www/shop/wp-admin/post.php(227): edit_post() #27 {main} thrown
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error when I refund.’ is closed to new replies.