*/
function contribution_create_example() {
$params = array(
- 'contact_id' => 31,
+ 'contact_id' => 1,
'receive_date' => '20120511',
'total_amount' => '100',
'financial_type_id' => 1,
'values' => array(
'1' => array(
'id' => '1',
- 'contact_id' => '31',
+ 'contact_id' => '1',
'financial_type_id' => '1',
'contribution_page_id' => '1',
'payment_instrument_id' => '4',
function payment_processor_create_example() {
$params = array(
'name' => 'API Test PP',
- 'payment_processor_type_id' => 18,
+ 'payment_processor_type_id' => 1,
'class_name' => 'CRM_Core_Payment_APITest',
'is_recur' => 0,
'domain_id' => 1,