Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 103721

cmsbox.fr on "[Plugin: WooCommerce - excelling eCommerce] payment gateway Class not found"

$
0
0

The cheque example doesn't use a payment response hook.
In the old version of my plugin, I had this in the constructor, in order to trigger a function when the gateway sends a response:

add_action('init', array(&$this, 'check_gateway_response'));

In the default WC payment gateways, I've seen this for example:
add_action( 'woocommerce_api_wc_gateway_paypal', array( $this, 'check_ipn_response' ) );

I doesn't work for my module, function not triggered.
How can I trigger a function when the payment gateway sends an http response?

Thanks a lot for your answers.


Viewing all articles
Browse latest Browse all 103721

Latest Images

Trending Articles



Latest Images