From 13c0f545b66c9e6e01ce8bea9566ed05e4c8d855 Mon Sep 17 00:00:00 2001 From: David Thompson <davet@gnu.org> Date: Wed, 4 Feb 2015 14:09:12 -0500 Subject: [PATCH] Set start field when creating recurring payment. --- trustcommerce.php | 1 + 1 file changed, 1 insertion(+) diff --git a/trustcommerce.php b/trustcommerce.php index 9426cf1..b1d54a8 100644 --- a/trustcommerce.php +++ b/trustcommerce.php @@ -253,6 +253,7 @@ class org_fsf_payment_trustcommerce extends CRM_Core_Payment { $fields['cycle'] = '1'.$cycle; /* The billing cycle in years, months, weeks, or days. */ $fields['payments'] = $payments; $fields['authnow'] = 'y'; + $fields['start'] = date("Y-m-d"); /* Start date is required when 'authnow' is used. */ $fields['action'] = 'store'; /* Change our mode to `store' mode. */ return $fields; -- 2.25.1