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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 635070-uc_payment_gateway_alter.patch | 1.45 KB | longwave |
| gateway-alter-1.patch | 1.32 KB | amitaibu |
Comments
Comment #1
trevorwh commentedIn 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.
Comment #2
longwaveCommitted to 6.x. Needs porting to 7.x.
Comment #3
longwaveCommitted to 7.x.