Error: payment_method was called incorrectly.
-
The Error Log shows problem associated with BIT payment Gateway Plugin.
Error:
[20-Dec-2022 17:36:14 UTC] payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Bit_Gateway_Offline->process_payment, Bit_Payment_Email->trigger, WC_Email->get_content, Bit_Payment_Email->get_content_html, wc_get_template, include(‘/plugins/woo-bit-payment-gateway/templates/emails/bit-pending-payment-email.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/plugins/woocommerce/templates/emails/email-order-details.php’), do_action(‘woocommerce_email_before_order_table’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Paybox_Gateway_idbp->email_instructions, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
- The topic ‘Error: payment_method was called incorrectly.’ is closed to new replies.