I process other types of PayPal transactions and I have a set IPN URL with which PayPal communicates.

Ubercart PayPal IPN notification url is hardcoded as: /uc_paypal/ipn/order_number

I understand that this is necessary for Ubercart to correctly process the order and should not be altered.

My new question: Is it possible to process the Ubercart IPN when it is returned to the site? In other words, is there some Ubercart hook which would allow me to process the PayPal IPN when Ubercart receives it at: /uc_paypal/ipn/order_number?

Comments

SomebodySysop created an issue. See original summary.

TR’s picture

Issue tags: -paypal ubercart ipn

As it says below,

Before adding tags read the issue tag guidelines. Do NOT use tags for adding random keywords or duplicating any other fields. Separate terms with a comma, not a space.
longwave’s picture

Status: Active » Fixed

You could use hook_menu_alter() to change the page callback of 'uc_paypal/ipn' to intercept the IPN and do whatever you like with it, before passing it on to the original callback to handle.

Otherwise, there is a long standing feature request at #781720: Refactor the Paypal WPS IPN code to add a hook which would let custom modules handle the IPN.

SomebodySysop’s picture

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.