/*
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
function civicrm_api3_contribution_page_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-/*
+
+/**
* Adjust Metadata for Create action
*
* The metadata is used for setting defaults, documentation & validation
*/
function _civicrm_api3_contribution_page_create_spec(&$params) {
$params['financial_type_id']['api.required'] = 1;
+ $params['payment_processor']['api.aliases'] = array('payment_processor_id');
}
/**