Support » Plugin: MakeCommerce for WooCommerce » Deprecated function in CANCELLED status redirect

  • Hello

    Just wanted to inform that you have deprecated function in ‘cancelled’ status return URL call.

    makecommerce.php line 161

    case 'CANCELLED':
    $order->update_status( 'cancelled' );
    wc_add_notice(__('Payment transaction cancelled', 'wc_makecommerce_domain'), 'error');
    $returnUrl = $woocommerce->cart->get_cart_url();

    get_cart_url() function is deprecated since v 2.5.0. Use wc_get_cart_url() instead.


  • The topic ‘Deprecated function in CANCELLED status redirect’ is closed to new replies.