WordPress.org

Forums

WPdeposit gateway for Woocommerce
there may be some issues (4 posts)

  1. suifengtec
    Member
    Posted 12 months ago #

    // 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.
    
    */
  2. youssefusf
    Member
    Posted 11 months ago #

    thankyou_page this is no longer supported by woocommerce

    i will make the update and upload it on githup

  3. suifengtec
    Member
    Posted 11 months ago #

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

  4. suifengtec
    Member
    Posted 9 months ago #

    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?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.