Skip to content

Commit

Permalink
Merge pull request #8300 from monishdeb/CRM-18070
Browse files Browse the repository at this point in the history
CRM-18070: Packaged eWAY classes not loaded for Event registration
  • Loading branch information
monishdeb committed May 11, 2016
2 parents 1a1405c + 404d48b commit c797ba1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CRM/Core/Payment/eWAY.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
*
* -----------------------------------------------------------------------------------------------
*/

// require Standard eWAY API libraries
require_once 'eWAY/eWAY_GatewayRequest.php';
require_once 'eWAY/eWAY_GatewayResponse.php';

class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
# (not used, implicit in the API, might need to convert?)
const CHARSET = 'UTF-8';
Expand All @@ -114,9 +119,6 @@ class CRM_Core_Payment_eWAY extends CRM_Core_Payment {
* *******************************************************
*/
public function __construct($mode, &$paymentProcessor) {
// require Standard eWAY API libraries
require_once 'eWAY/eWAY_GatewayRequest.php';
require_once 'eWAY/eWAY_GatewayResponse.php';

// live or test
$this->_mode = $mode;
Expand Down

0 comments on commit c797ba1

Please sign in to comment.