Use handler provider (type) instead of handler id

Created on 27 January 2025, about 1 month ago

The current default label of the handler is CiviCRM Form Processor with CiviMcRestFace (CMRF) which gives by default civicrm_form_processor_with_civimcrestface_cmrf as handler id.

The code expects in the cmrf_form_processor_mollie submodule that the handler id's are named 'cmrf_form_processor' and 'mollie_payment_handler'. This is not always the case, as the machine name depends on the chosen label. So it is better to work with the handler type/provider, which is independent of the label/machine name of the handlers.

Having the wrong handler id in the code conditions gives all kinds of bugs.

🐛 Bug report
Status

Needs review

Version

2.2

Component

Code

Created by

🇧🇪Belgium hansrossel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024