Title: cmsbox.fr's Replies | WordPress.org

---

# cmsbox.fr

  [  ](https://wordpress.org/support/users/cmsboxfr/)

 *   [Profile](https://wordpress.org/support/users/cmsboxfr/)
 *   [Topics Started](https://wordpress.org/support/users/cmsboxfr/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cmsboxfr/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cmsboxfr/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cmsboxfr/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cmsboxfr/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cmsboxfr/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] payment gateway Class not found](https://wordpress.org/support/topic/payment-gateway-class-not-found/)
 *  Thread Starter [cmsbox.fr](https://wordpress.org/support/users/cmsboxfr/)
 * (@cmsboxfr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/payment-gateway-class-not-found/#post-3541072)
 * Hi, what hook should be triggered in WC2 for payment response when the http response
   is sent by the payment server?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] payment gateway Class not found](https://wordpress.org/support/topic/payment-gateway-class-not-found/)
 *  Thread Starter [cmsbox.fr](https://wordpress.org/support/users/cmsboxfr/)
 * (@cmsboxfr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/payment-gateway-class-not-found/#post-3541065)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] payment gateway Class not found](https://wordpress.org/support/topic/payment-gateway-class-not-found/)
 *  Thread Starter [cmsbox.fr](https://wordpress.org/support/users/cmsboxfr/)
 * (@cmsboxfr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/payment-gateway-class-not-found/#post-3541044)
 * Hi, thanks a lot.
    Is this retocompatible with 1.x?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] payment gateway Class not found](https://wordpress.org/support/topic/payment-gateway-class-not-found/)
 *  Thread Starter [cmsbox.fr](https://wordpress.org/support/users/cmsboxfr/)
 * (@cmsboxfr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/payment-gateway-class-not-found/#post-3541004)
 * is there any free payment gateway example, or a complete tutorial for custom 
   payment gateways in WC2?

Viewing 4 replies - 1 through 4 (of 4 total)