• tranhoang

    (@tranhoang)


    In the multisite, if you active woocommerce plugin from Network instead from the subsite

    The payment will not show in the payment method listing

    The code below is root cause:

    /**

    * Loads Affirm.

    */

    if (

    in_array(

    'woocommerce/woocommerce.php',

    apply_filters( 'active_plugins', get_option( 'active_plugins' ) )

    )

    ) {

    $GLOBALS['wc_affirm_loader'] = affirm();

    }

    get_option( ‘active_plugins’ ) does not have woocommerce/woocommerce.php in the array

    Please update on the next version, thanks

  • You must be logged in to reply to this topic.