Forum Replies Created
- 
		AuthorPosts
- 
		
			
				
mauirinho ParticipantGood morning everyone, I tested the new version 1.5.10 and it works correctly, the refund no longer generates the error. 
 Thanks everyone and have a good day,. mauirinho ParticipantThis is the error I found in the log under the name of FATAL ERROR. 
 Occurred when trying to make a refund with TeraWallet, the page after clicking on the “Refund with TeraWallet” button remains pending and generates an error 500. If I reload the page in the order I find the refund made but in the customer’s balance there is no trace of the credit.
 What do you think is happening?WordPress: 6.7.1 
 WooCommerce: 9.4.3
 TeraWallet: 1.5.9thanks to everyone mauro 2024-12-04T13:23:08+00:00 Critico Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_customer_id() in /home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-cashback.php:76 
 Contesto aggiuntivo
 {
 “error”: {
 “type”: 1,
 “file”: “/home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-cashback.php”,
 “line”: 76
 },
 “remote-logging”: true,
 “backtrace”: [
 “”,
 “#0 /home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-ajax.php(193): Woo_Wallet_Cashback::calculate_cashback(false, 34149, true)”,
 “#1 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(324): Woo_Wallet_Ajax->recalculate_order_cashback_after_calculate_totals(false, Object(WC_Order_Refund))”,
 “#2 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,
 “#3 /home/customer/www/roderi.it/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,
 “#4 /home/customer/www/roderi.it/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1967): do_action(‘woocommerce_ord…’, false, Object(WC_Order_Refund))”,
 “#5 /home/customer/www/roderi.it/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php(616): WC_Abstract_Order->calculate_totals(false)”,
 “#6 /home/customer/www/roderi.it/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-ajax.php(279): wc_create_refund(Array)”,
 “#7 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(324): Woo_Wallet_Ajax->woo_wallet_order_refund(”)”,
 “#8 /home/customer/www/roderi.it/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,
 “#9 /home/customer/www/roderi.it/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,
 “#10 /home/customer/www/roderi.it/public_html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_woo_wal…’)”,
 “#11 {main}”,
 “thrown”
 ]
 }mauirinho ParticipantThank you subrata 😉 
- 
		AuthorPosts
