WordPress.org

Support

Support » Reviews » there may be some issues

there may be some issues

  • // Actions
    		add_action('woocommerce_update_options_payment_gateways', array(&$this, 'process_admin_options'));//just for 1.6<=WC<2.0,so I think it will does not work fine.
    		add_action('woocommerce_update_options_payment_gateways'.$this->id, array(&$this, 'process_admin_options'));//this is for WC>2.0, try this API after your test.
    
    		//What is ppay? there is something wrong ,is it?
        	add_action('woocommerce_thankyou_ppay', array(&$this, 'thankyou_page'));
    
    		//It maybe like this?
        	add_action('woocommerce_thankyou_WPdeposit', array(&$this, 'thankyou_page'));
    		//Or
        	add_action('woocommerce_thankyou_'.$this->id, array(&$this, 'thankyou_page'));
    
    /*
    
    This is just an extension for your premium plugin named WPdeposit hosted by Codecanyon,but I think you should update this extension at minute for above reasons.
    I has not read your code of your premium plugin,may be it work fine!
    Suggestion:the error info might be much better if you put it on the top of woocommece setting pages.
    Thanks for your plugin.
    
    */
Viewing 3 replies - 1 through 3 (of 3 total)
  • thankyou_page this is no longer supported by woocommerce

    i will make the update and upload it on githup

    thank you! may be the author of this plugin is very busy!

    Hello,youssefusf!

    Line 62 of thankyou.php of Woocommerce 2.1.12

    do_action( 'woocommerce_thankyou_' . $order->payment_method, $order->id );

    using it in Woocommerce core:

    add_action( 'woocommerce_thankyou_cheque', array( $this, 'thankyou_page' ) );
    <br>
    add_action( 'woocommerce_thankyou_paypal', array( $this, 'pdt_return_handler' ) );

    add_action( 'woocommerce_thankyou_bacs', array( $this, 'thankyou_page' ) );

    add_action( 'woocommerce_thankyou_cod', array( $this, 'thankyou_page' ) );

    so,I think thankyou_page exists in new version of woocommerce, is it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘there may be some issues’ is closed to new replies.