From d8448c78010aeb145b7e36a7ab27dd2539bb48b0 Mon Sep 17 00:00:00 2001 From: David Thompson 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 b2b7a3f..824957e 100644 --- a/trustcommerce.php +++ b/trustcommerce.php @@ -259,6 +259,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