@@ 47-53 (lines=7) @@ | ||
44 | * while still calling the parent constructor. |
|
45 | * So children should override this method instead of __construct |
|
46 | */ |
|
47 | protected function _setup_properties() { |
|
48 | require_once($this->file_folder().'EEG_Aim.gateway.php'); |
|
49 | $this->_gateway = new EEG_AIM(); |
|
50 | $this->_pretty_name = __("Authorize.net AIM", 'event_espresso'); |
|
51 | $this->_default_description = __( 'Please provide the following billing information.', 'event_espresso' ); |
|
52 | $this->_requires_https = true; |
|
53 | } |
|
54 | ||
55 | /** |
|
56 | * Creates the billing form for this payment method type |
@@ 34-41 (lines=8) @@ | ||
31 | * @param EE_Payment_Method $pm_instance |
|
32 | * @return EE_PMT_Paypal_Pro |
|
33 | */ |
|
34 | public function __construct($pm_instance = NULL) { |
|
35 | require_once($this->file_folder().'EEG_Paypal_Pro.gateway.php'); |
|
36 | $this->_gateway = new EEG_Paypal_Pro(); |
|
37 | $this->_pretty_name = __("Paypal Pro", 'event_espresso'); |
|
38 | $this->_default_description = __( 'Please provide the following billing information.', 'event_espresso' ); |
|
39 | $this->_requires_https = true; |
|
40 | parent::__construct($pm_instance); |
|
41 | } |
|
42 | ||
43 | ||
44 |