Documentation

Transact.php

Table of Contents

Functions

_civicrm_api3_contribution_transact_spec()  : mixed
Adjust Metadata for Transact action.
civicrm_api3_contribution_transact()  : array<string|int, mixed>
Process a transaction and record it against the contact.

Functions

_civicrm_api3_contribution_transact_spec()

Adjust Metadata for Transact action.

_civicrm_api3_contribution_transact_spec(array<string|int, mixed> &$params) : mixed

The metadata is used for setting defaults, documentation & validation.

Parameters
$params : array<string|int, mixed>

Array of parameters determined by getfields.

civicrm_api3_contribution_transact()

Process a transaction and record it against the contact.

civicrm_api3_contribution_transact(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>

Input parameters.

Return values
array<string|int, mixed>

contribution of created or updated record (or a civicrm error)


        
On this page

Search results