Not Receiving IPNs..??

Issue #19 closed
Drew Angell repo owner created an issue

The IPN Simulator is still working ok for me, however, actual sandbox transactions are not making it into the database for some reason.

I have this IPN URL hooked up to my PayPal sandbox account now. I can see IPNs getting sent from my account to this URL from the PayPal IPN History, and it's showing a 200 OK successful response back from the IPN listener. I can also see these IPNs in the log file that gets created in the plugin, but those IPNs are not showing up in the general list for browsing for some reason.

Comments (9)

  1. Drew Angell reporter

    Well, no, I just ran an IPN Simulator test with no value for "custom" or "invoice" and it still worked fine from there. Not sure why the actual sandbox transactions aren't making it in here even though they are hitting the log file.

  2. Drew Angell reporter

    My sandbox account gets a bunch of transactions on it every day. After setting up this IPN URL yesterday, I am seeing that some of the transactions that are hitting my sandbox account are getting logged here as expected in both the log file and the admin panel, but many of them are not making it to the database/admin panel.

    So I'm not sure what's going on, but there's something causing lots of the IPN's to not get saved in the db even though the scripts are completing successfully and the log file is getting the data.

    Seems that refunds aren't making it to the database when they actually occur on the sandbox, but the refund simulator does work fine.

  3. Drew Angell reporter

    Turns out that refund IPNs simply do not have a txn_type parameter included with them. The IPN Simulator PayPal provides doesn't account for this, and still includes it with tests (unless you clear out the value yourself).

    So we need to make an adjustment to ensure IPNs are still processed and saved accordingly even if there is no txn_type parameter included.

  4. jignesh kaila

    I have applied txn_type adjustment as per our requirement and other change which are you suggested on chat. I have push latest changes on development branch.

    Please review it and let me know if any.

  5. Log in to comment