updated examples
[civicrm-core.git] / api / v3 / examples / ContributionPage / Create.php
index 3d81974c64fcada48de9f4c56281d5c5a4046930..f482d93fe9cc1463e44f0f26708cddec00e9985d 100644 (file)
@@ -9,6 +9,8 @@ $params = array(
   'financial_type_id' => 1,
   'currency' => 'NZD',
   'goal_amount' => 34567,
+  'is_pay_later' => 1,
+  'is_monetary' => true,
 );
 
 try{
@@ -43,13 +45,13 @@ function contribution_page_create_expectedresult(){
           'financial_type_id' => '1',
           'payment_processor' => '',
           'is_credit_card_only' => '',
-          'is_monetary' => '',
+          'is_monetary' => '1',
           'is_recur' => '',
           'is_confirm_enabled' => '',
           'recur_frequency_unit' => '',
           'is_recur_interval' => '',
           'is_recur_installments' => '',
-          'is_pay_later' => '',
+          'is_pay_later' => '1',
           'pay_later_text' => '',
           'pay_later_receipt' => '',
           'is_partial_payment' => '',
@@ -72,12 +74,9 @@ function contribution_page_create_expectedresult(){
           'cc_receipt' => '',
           'bcc_receipt' => '',
           'receipt_text' => '',
-          'is_active' => '',
+          'is_active' => '1',
           'footer_text' => '',
           'amount_block_is_active' => '',
-          'honor_block_is_active' => '',
-          'honor_block_title' => '',
-          'honor_block_text' => '',
           'start_date' => '',
           'end_date' => '',
           'created_id' => '',