Add the premium WPDeposit plugin as a new payment gateway for WooCommerce.
// 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. */
You must log in to submit a review. You can also log in or register using the form near the top of this page.