• Resolved lahiru

    (@lahiru)


    Hi Noor,

    I’m using the IPN callback function to do post-transaction operations like updating the database, sending emails etc. but looks like the function is not getting called at all.

    I have the IPN callback on functions.php

    function my_callback_function($ipn_response) {
       // do stuff
    }
    add_action('wp_paypal_ipn_processed', 'my_callback_function');

    – I don’t see any errors on the server error_log
    – Transaction is updated on the WP PayPal dashboard and no errors reported on the debug
    – I also used the IPN Simulator on PayPal to send to https://mydomain.com/?wp_paypal_ipn=1 and it was successful
    – WordPress v5.5.3 and WP PayPal v1.2.2.5

    Any pointers is greatly appreciated.

    Thanks in advanced!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter lahiru

    (@lahiru)

    Found the issue. Closing this.

    @lahiru how did you solve this as I’m having an issue too?

    I need the IPN to trigger a zap in zapier so that someone is added to an automation in Active Campaign. I can do it with a paypal button, but not with a purchase made using WP Paypal.

    any ideas?

    Thread Starter lahiru

    (@lahiru)

    @jimrowebot Mine was an incorrect shortcode variable combination. Check the same. You can also paste your shortcode here so I can check if that’s what’s causing the issue.

    Can I place a ipn in the shortcode?

    Thread Starter lahiru

    (@lahiru)

    @jimrowebot I’m not sure what you mean by place a ipn in the shortcode but the shortcode should be added only with the supported variables. You can add a ‘custom’ variable to send something like a unique ID to PayPal.

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

The topic ‘IPN Callback Function Not Being Called’ is closed to new replies.