Support » Plugin: WooCommerce ePay.bg » Notice: payment_method was called incorrectly

  • Здравейте,
    При следната система:
    WordPress version: 5.0.2
    WooCommerce version: 3.5.3
    получавам следното съобщние за грешка:

    Notice: order_total was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentynineteen/page.php’), get_template_part, locate_template, load_template, require(‘/themes/twentynineteen/template-parts/content/content-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/order-receipt.php’), do_action(‘woocommerce_receipt_epaybg’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Gateway_Epaybg->receipt_page, WC_Gateway_Epaybg->generate_epaybg_form, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more informati in /var/www/html/assyd/wp-includes/functions.php on line 4204

    Уж изплаща коректно нещата на https://demo.epay.bg, след разплащане в демо сайта и връщане обратно в магазина получавам:
    Notice: 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’), include(‘/themes/twentynineteen/page.php’), get_template_part, locate_template, load_template, require(‘/themes/twentynineteen/template-parts/content/content-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_order_details_table, wc_get_template, include(‘/plugins/woocommerce/templates/order/order-details.php’), WC_Order->get_order_item_totals, apply_filters(‘woocommerce_get_order_item_totals’), WP_Hook->apply_filters, woocommerce_epaybg_ in /var/www/html/assyd/wp-includes/functions.php on line 4204

    и транзакцията зависва на “Pending payment”

    Това ми показва access.log при отговора от demo.epay.bg:
    82.103.104.65 – – [09/Jan/2019:14:57:14 +0200] “POST /wc-api/WC_Gateway_Epaybg/?hash=e8bbc23a3caceed6862640eda05e9330 HTTP/1.1” 200 3402 “-” “libwww-perl/6.33”

    The page I need help with: [log in to see the link]

  • The topic ‘Notice: payment_method was called incorrectly’ is closed to new replies.