At the moment you can't alter any of the gateway info. This makes it difficult to do things like altering a gateway's validation function. The following (very simple) patch fixes this by passing all gateway info loads through drupal_alter.

Comments

almaudoh’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Issue summary: View changes
Issue tags: +Needs backport to D7

Moving all feature requests to 8.x-1.x, and adding 'needs backport' tag.

  • dpi committed e6db044 on 8.x-1.x
    Issue #2090635: Document gateway info alter hook.
    
dpi’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Issue tags: -Needs backport to D7

We already get this for free from D8's plugin manager. Added documentation for it.

Returning to D7

almaudoh’s picture

StatusFileSize
new1.78 KB

Added some test coverage.

  • almaudoh committed 6284ff9 on 7.x-1.x
    Issue #2090635 by almaudoh, torpy: Add gateway info alter hook
    
almaudoh’s picture

Status: Needs review » Fixed

Committed / pushed to 7.x-1.x

Status: Fixed » Closed (fixed)

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