civicrm_api3_contribution_transact deprecation message has broken docs link
Overview
While working on Webform CiviCRM, I encountered the deprecation notice for civicrm_api3_contribution_transact
.
User deprecated function: Deprecated function ::civicrm_api3_contribution_transact, use The contibution.transact api is unsupported & known to have issues. Please see the section at the bottom of https://docs.civicrm.org/dev/en/latest/financial/OrderAPI/ for getting off it.
The stack trace
Civi\API\Provider\MagicFunctionProvider->invoke(Array) (Line: 150)
Civi\API\Kernel->runRequest(Array) (Line: 81)
Civi\API\Kernel->runSafe('contribution', 'transact', Array) (Line: 22)
civicrm_api('contribution', 'transact', Array) (Line: 539)
wf_civicrm_api('contribution', 'transact', Array) (Line: 1825)
Reproduction steps
- Setup Drupal 8.9, Webform CiviCRM, CiviCRM 5.33RC
- Create a webform with contributions
- Submit
- See the deprecation notice
Current behaviour
A link to https://docs.civicrm.org/dev/en/latest/financial/OrderAPI/
is provided and returns a 404
Expected behaviour
The deprecation instructions should have docs for how to remove the deprecation.