Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: [Easy LiqPay] not activate

    in file ELiqPayProcess.php(wp-content/plugins/easy-liqpay/core/classes/ELiqPayProcess.php) insert code

    if (!$private_key){
    	$private_key = 1;
    }
    if (!$public_key){
    	$public_key = 1;
    }

    before last line with code new ELiqPayProcess($public_key, $private_key);

    must be look like this

    $private_key = elp_get_option('private_key');
    $public_key = elp_get_option('public_key');
    if (!$private_key){
    	$private_key = 1;
    }
    if (!$public_key){
    	$public_key = 1;
    }
    
    new ELiqPayProcess($public_key, $private_key);

    in file ELiqPayProcess.php(wp-content/plugins/easy-liqpay/core/classes/ELiqPayProcess.php) insert code

    if (!$private_key){
    	$private_key = 1;
    }
    if (!$public_key){
    	$public_key = 1;
    }

    before last line with code new ELiqPayProcess($public_key, $private_key);

    must be look like this

    $private_key = elp_get_option('private_key');
    $public_key = elp_get_option('public_key');
    if (!$private_key){
    	$private_key = 1;
    }
    if (!$public_key){
    	$public_key = 1;
    }
    
    new ELiqPayProcess($public_key, $private_key);
    • This reply was modified 9 years, 8 months ago by jrjaguar.
Viewing 2 replies - 1 through 2 (of 2 total)