It seems urgent that we so some deprecation of this api - this is the absolute minimum.
More would involve creating some noise when people use it but there
is a separate issue for that. This is just to geet it out of being 'promoted'
by the api explorer
'type' => CRM_Utils_Type::T_INT,
];
}
+
+/**
+ * Declare deprecated functions.
+ *
+ * @return array
+ * Array of deprecated actions
+ */
+function _civicrm_api3_contribution_deprecation() {
+ return ['transact' => 'Contribute.transact is ureliable & unsupported - see https://docs.civicrm.org/dev/en/latest/financial/OrderAPI/ for how to move on'];
+}