// add a recurring payment if requested
if ($params['is_recur'] && $params['installments'] > 1) {
//Recur Variables
- $recurUnit = $params['frequency_unit'];
+ $recurUnit = $params['frequency_unit'];
$recurInterval = $params['frequency_interval'];
- $next = time();
- $day = 60 * 60 * 24;
+ $next = time();
+ $day = 60 * 60 * 24;
switch ($recurUnit) {
case 'day':
$next += $recurInterval * $day;
return TRUE;
}
- // ignore for now, more elaborate error handling later.
/**
+ * ignore for now, more elaborate error handling later.
* @param $response
*
* @return object