Skip to content

Commit

Permalink
Multi Account Manager hooks, ref #876
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Sep 20, 2017
1 parent a899b3b commit 38ac5e2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion classes/wc-gateway-braintree-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function __construct() {

add_action('woocommerce_admin_order_data_after_order_details', array($this, 'woocommerce_admin_order_data_after_order_details'), 10, 1);
add_filter('woocommerce_settings_api_sanitized_fields_' . $this->id, array($this, 'angelleye_update_settings'), 10, 1);
$this = apply_filters( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
do_action( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/wc-gateway-paypal-advanced-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function __construct() {
add_action('woocommerce_api_wc_gateway_paypal_advanced_angelleye', array($this, 'relay_response'));
add_filter('woocommerce_settings_api_sanitized_fields_' . $this->id, array($this, 'angelleye_paypal_advanced_encrypt_gateway_api'), 10, 1);
$this->customer_id;
$this = apply_filters( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
do_action( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/wc-gateway-paypal-credit-cards-rest-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function __construct() {
add_action('admin_notices', array($this, 'checks'));
add_filter( 'woocommerce_credit_card_form_fields', array($this, 'angelleye_paypal_credit_card_rest_credit_card_form_fields'), 10, 2);
add_filter('woocommerce_settings_api_sanitized_fields_' . $this->id, array($this, 'angelleye_paypal_credit_card_rest_encrypt_gateway_api'), 10, 1);
$this = apply_filters( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
do_action( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
$this->customer_id;
}

Expand Down
2 changes: 1 addition & 1 deletion classes/wc-gateway-paypal-express-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function __construct() {
}
$this->function_helper = new WC_Gateway_PayPal_Express_Function_AngellEYE();
$this->order_button_text = ($this->function_helper->ec_is_express_checkout() == false) ? __('Proceed to PayPal', 'paypal-for-woocommerce') : __( 'Place order', 'paypal-for-woocommerce' );
$this = apply_filters( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
do_action( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
}

public function admin_options() {
Expand Down
2 changes: 1 addition & 1 deletion classes/wc-gateway-paypal-pro-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function __construct() {
require_once( PAYPAL_FOR_WOOCOMMERCE_PLUGIN_DIR . '/classes/wc-gateway-calculations-angelleye.php' );
$this->calculation_angelleye = new WC_Gateway_Calculation_AngellEYE();
}
$this = apply_filters( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
do_action( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/wc-gateway-paypal-pro-payflow-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function __construct() {
}

$this->fraud_error_codes = array('125', '126', '127', '128');
$this = apply_filters( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
do_action( 'angelleye_paypal_for_woocommerce_multi_account_api_' . $this->id, $this );
}

public function add_log($message, $level = 'info') {
Expand Down

0 comments on commit 38ac5e2

Please sign in to comment.