diff --git a/inc/gateways/pix/class-wc-iugu-pix-gateway.php b/inc/gateways/pix/class-wc-iugu-pix-gateway.php index c4279eb..c65f95b 100644 --- a/inc/gateways/pix/class-wc-iugu-pix-gateway.php +++ b/inc/gateways/pix/class-wc-iugu-pix-gateway.php @@ -40,7 +40,7 @@ public function __construct() { /** * Handles notification requets from the API. */ - add_action('woocommerce_api_wc_iugu_pix_gateway', array($this, 'notification_handler')); + add_action('woocommerce_api_wc_iugu_pix_gateway2', array($this, 'notification_handler')); /** * Adds the gateways settings. */