Forum Replies Created

Viewing 15 replies - 16 through 30 (of 54 total)
  • @nijvyasforum

    try this :

    <?php
    
    /**
     * Autocomplete Paid - All type of Orders (WC 2.2+ not sure about 4.x+)
     */
    
    add_filter( 'woocommerce_payment_complete_order_status', 'bryce_wc_autocomplete_paid_orders' );
    function bryce_wc_autocomplete_paid_orders( $order_status, $order_id ) {
    	
    	$order = wc_get_order( $order_id );
    
    	if ( $order_status == 'processing' && ( $order->status == 'on-hold' || $order->status == 'pending' || $order->status == 'failed' ) ) {
    		return 'completed';
    	}
    	
    	return $order_status;
    
    }
    • This reply was modified 4 years, 11 months ago by lesscro.

    @nijvyasforum Did u try my method ? small pieces of code ?

    Regards

    Thread Starter lesscro

    (@lesscro)

    @chetnapatel

    Nice ! Really Nice. We prepare solution and you will have a new customer for pro VERSION.

    Regards.

    RD

    lesscro

    (@lesscro)

    Hello, same issue here. API request from Facebook ?
    I have another friend webmaster who can activate feed when i can’t…

    Does anybody try on flux with error to generate another flux and successfully activate it ?

    Limit request on native app ?

    in my desire of solution, i fond some piece of code then if your poroducts are “virtual”, check this :

    <?php
    /*
     * Plugin Name: Autocomplete virtual product
     * Plugin URI: https://rd-graphisme.com
     * Description: Change order status of virtual product after confirmation of pay
     * Version: 0.1
     * Author: RD Graphisme
     * Author URI: https://rd-graphisme.com
     * Copyright: (c) 2019 RD GRAPHISME
     * License: GNU General Public License v2.0
     * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     * Text Domain: autocomplete virtual product for WC
    */
    
    add_action('woocommerce_order_status_changed', 'ts_auto_complete_virtual');
    
    function ts_auto_complete_virtual($order_id)
    {
    
    if ( ! $order_id ) {
    return;
    }
    
    global $product;
    $order = wc_get_order( $order_id );
    
    if ($order->data['status'] == 'processing') {
    
    $virtual_order = null;
    
    if ( count( $order->get_items() ) > 0 ) {
    
    foreach( $order->get_items() as $item ) {
    
    if ( 'line_item' == $item['type'] ) {
    
    $_product = $order->get_product_from_item( $item );
    
    if ( ! $_product->is_virtual() ) {
    // once we find one non-virtual product, break out of the loop
    $virtual_order = false;
    break;
    }
    else {
    $virtual_order = true;
    }
    }
    }
    }
    
    // if all are virtual products, mark as completed
    if ( $virtual_order ) {
    $order->update_status( 'completed' );
    }
    }
    }

    Put this in noetpadd++ and save as php
    Put in plugins folder

    Activate… and normally it work.

    Cheers

    Not work here too… it seems it become unseful plugin. Sad.
    Best option it’s to use pay version of woocommerce team but… but…

    Cheers

    Hi @webtemyk

    No activated Robin cause crash on WordPress… i need to make a choice…
    Clearfy or Robin…

    Sad…

    Best regards

    Hello,

    same issue here from 1.5.3 to 1.6.2 on wordpress MU.
    It seems Robin Image Optimizer broke something…

    [05-Jan-2020 07:26:31 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'FLTheme' does not have a method 'pingback_url' in /var/www/clients/client1/web327/web/wp-includes/class-wp-hook.php on line 288
    [05-Jan-2020 07:26:46 UTC] PHP Fatal error:  Uncaught Error: Class 'Wbcr_FactoryClearfy_Compatibility' not found in /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/admin/pages/class-rio-page.php:58
    Stack trace:
    #0 /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/admin/pages/class-rio-settings.php(39): WRIO_Page->__construct(Object(WRIO_Plugin))
    #1 /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/libs/factory/pages/pages.php(42): WRIO_SettingsPage->__construct(Object(WRIO_Plugin))
    #2 /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/libs/factory/core/includes/class-factory-plugin-abstract.php(285): Wbcr_FactoryPages424::register(Object(WRIO_Plugin), 'WRIO_SettingsPa...')
    #3 /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/includes/class-rio-plugin.php(170): Wbcr_Factory424_Plugin->registerPage('WRIO_SettingsPa...', '/var/www/client...')
    #4 /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/i in /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/admin/pages/class-rio-page.php on line 58
    [05-Jan-2020 07:26:50 UTC] PHP Fatal error:  Uncaught Error: Class 'Wbcr_FactoryClearfy_Compatibility' not found in /var/www/clients/client1/web327/web/wp-content/plugins/robin-image-optimizer/admin/pages/class-rio-page.php:58

    Desactivate Robin make MU laod again without any issue…

    Hope help to find a fix.

    Best regards

    @webtemyk

    Maybe i find something on standard configuration

    WP 5.2.4
    Clearfy 1.6 free
    /////
    WP Rocket 3.4.0.2, if i disable
    >>> async_css feature

    Website load normally without white screen…
    Someone can reproduce this bug or confirm ? I will try on some another website i manage.

    @alexkovalevv @webtemyk

    Same issue here on normal environnement :

    Wordpress 5.2.4
    Clearfy 1.5.3 > 1.6.0 (free version)

    After update / White screen on front

    Same issue here on Mulitiste environnement :

    Wordpress 5.2.4
    Clearfy 1.5.3 > 1.6.0 (Business version)

    After update / White screen on front.
    And on MU, u understand trouble with clients.

    Do u need a log to check what is the trouble because, it seems complicated to reproduce same error for rverybody…

    Best regards

    @alexfurr

    I search same sytem with MU support. Do u find something ? and what do u mean by access to WP-config ? Can we integrate config in WP-Config ?
    And it will do the trick over all “subdomains” ?

    Cheers

    Thread Starter lesscro

    (@lesscro)

    @iqcomputing

    I confirm :

    1 – install plugin from network
    2 – Activate on whole network
    3 – Menu appear and ask if CF7 is over specific version to choose on whole network which recaptcha version u want to use
    4 – Save settings to use V2
    5 – Clear Cache (via FTP for me /wp-content/cache/wp-rocket)
    6 – So far soo good

    Upgrade over than 1500 websites since this morning.

    Big Cheers bro’.

    Best regards

    Thread Starter lesscro

    (@lesscro)

    @coolmann

    Environnement :
    Wordpress 5.2.3
    Sturcture Multisite
    Security assumed by Ithemes Security Suite
    Statistics SlimStat with MU plugin addon

    Reason of Conflict
    Ithemes Security purpose a wide system of feature to protect your WordPress.
    One of these feature is :
    `Filter Suspicious Query Strings in the URL

    Slimstat use request ajax with parameter to retrieve information of visitors.
    This feature was considerd suspicious by Ithemes Security and block all stats.

    Disable this option, give ability to SlimStat to make his Job.
    Anyway if you can find a solution to bypass this method, it can be nice.

    As i say on another WP MU we use WP Statistics, this plugin is doesn’t block by Ithemes Security. Anyway This plugin use more memory than SlimStats… Then…

    Best regards

    Thread Starter lesscro

    (@lesscro)

    Hello @coolmann ,

    IThemes Security was the trouble with query strings filer. No Everything work like it need to be.

    Then Next time, U have another profile configuration for support.

    Thx for your time and Have a wonderful day.

    lesscro

    Best Regards

    Thread Starter lesscro

    (@lesscro)

    Hi @coolmann

    Slimstat lastest build
    Multisite addon lastest build
    Wordpress lastest build
    Caching plugin is working / WP ROcket lastest build

    ? https://mudomain/wp-admin/admin-ajax.php
    retunr 0 – the server responded with a status of 400 (Bad Request)
    Then 0 without command is normal

    ? We use Itheme Security and maybe it’s correct to
    disable the Filter Suspicious Query Strings in the URL
    System Tweaks section on the Settings page”.

    I will ask team who manage Server to send me some log about this.

    I will send you some news when i find more infos.

    Thx for your time.

    Regards

Viewing 15 replies - 16 through 30 (of 54 total)