• Resolved adrianomicci

    (@adrianomicci)


    Hi, I’m trying to hook valid-paypal-standard-ipn-request but it doesn’t work.
    I’ve added this code to functions.php in my theme, but it doesn’t trigger.

    add_action( 'valid-paypal-standard-ipn-request', 'valid_paypal_standard_ipn_request_custom_callback' );
    function action_function_name_3322( $posted ){
    	file_put_contents( MY_ABS_PATH . "/debug.log", "valid_paypal_standard_ipn_request_custom_callback\n" , FILE_APPEND | LOCK_EX );
    }

    Any suggestion? Thanks

    • This topic was modified 4 years, 9 months ago by adrianomicci.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    What plugin is doing the ‘valid-paypal-standard-ipn-request’ action? I suggest asking in its dedicated support channel why it’s not firing. Its devs there are in the best position to help you. In these forums most of us don’t know much of individual plugins beyond the most popular, if even that much.

    Thread Starter adrianomicci

    (@adrianomicci)

    You are right, I have to post it in Woocommerce section, sorry my fault 🙂

    Moderator bcworkz

    (@bcworkz)

    No worries, finding the right forum isn’t always obvious. I hope you’ll be able to find a solution soon. For anyone following along, please continue at https://ww.wp.xz.cn/support/topic/paypal-ipn-hook-doesnt-trigger-2/

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

The topic ‘PayPal IPN Hook Doesn’t Trigger’ is closed to new replies.