Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 914
    • Issues 914
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #1908

Closed
Open
Opened Jul 24, 2020 by alicefrumin@alicefrumin

Add new hook preIPNProcess

Overview

Adds a hook preIPNProcess which allows one to edit IPN data before it is processed in CiviCRM.

As a complement to the postIPNProcess hook (which it looks like was originally designed to be "alterIPNData" https://github.com/civicrm/civicrm-core/pull/12928 and work like this one)

Example use-case

  1. Altering data sent from the processor before CiviCRM processes it, If the data is not processed correctly postIPNProcess is never called, preIPNProcess needs to be used when the data needs to be fixed up in order for it to process successfully

Current behaviour

No way for extension developers to alter IPN data before CiviCRM Processing

Proposed behaviour

Hook that allows extension developers to alter IPN data bore CiviCRM processes it

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1908