I wasn't sure what the best way of doing this was, but I needed to make this change to allow one of our modules to implement hook_paypal_ipn_process.

Comments

instanceofjamie’s picture

StatusFileSize
new944 bytes

Patch here

rszrama’s picture

Status: Active » Fixed

Alrighty, added this in with some fancy documentation. I also had to rearrange the bit about processed IPNs in the main process function... if an IPN fails to process via the payment method, it's still technically valid and should be passed to the hook. Modules implementing the hook just need to know to check for an ipn_id if they want to determine if the IPN was processed and saved successfully or not. (That's in the docs.)

http://drupalcode.org/project/commerce_paypal.git/commitdiff/0f04e4a

Status: Fixed » Closed (fixed)

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