Use case is #569300: Create Paypal WPP recurring fee handler - the recurring handler should do the NVP request itself, so it should be able to conditionally change the callback of the paypal pro gateway.

Also this is following D7 pattern that there's a drupal_alter() after gathering the definitions.

Comments

trevorwh’s picture

In my opinion, this patch is unneeded for the wpp gateway. I think it may be useful for other purposes to be able to override the gateway - and the patch applied fine, but it isn't necessary because of how uc_recurring is already setup.

longwave’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
Status: Needs review » Patch (to be ported)

Committed to 6.x. Needs porting to 7.x.

longwave’s picture

Status: Patch (to be ported) » Fixed
StatusFileSize
new1.45 KB

Committed to 7.x.

Status: Fixed » Closed (fixed)

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