// the back-end's canonical set of parameters. But if a processor
// does this, it needs to invoke this hook after it has done translation,
// but before it actually starts talking to its proprietary back-end.
-
+ if (!empty($params['is_recur'])) {
+ $throwAnENoticeIfNotSetAsTheseAreRequired = $params['frequency_interval'] . $params['frequency_unit'];
+ }
// no translation in Dummy processor
$cookedParams = $params;
CRM_Utils_Hook::alterPaymentProcessorParams($this,
}
/**
- * Are back office payments supported - e.g paypal standard won't permit you to enter a credit card associated with someone else's login
+ * Are back office payments supported.
+ *
+ * E.g paypal standard won't permit you to enter a credit card associated with someone else's login.
+ *
* @return bool
*/
protected function supportsLiveMode() {
- return FALSE;
+ return TRUE;
}
/**