<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.7 |
+ | CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
return FALSE;
}
+ /**
+ * Checks if payment processor supports recurring contributions
+ *
+ * @return bool
+ */
+ public function supportsRecurring() {
+ if (!empty($this->_paymentProcessor['is_recur'])) {
+ return TRUE;
+ }
+ return FALSE;
+ }
+
/**
* Should a receipt be sent out for a pending payment.
*