Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
TR CreditAttribution: TR commentedAs it says below,
Comment #3
longwaveYou 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.
Comment #4
SomebodySysop CreditAttribution: SomebodySysop commentedThank you!