Plugin Directory

Changeset 2325086


Ignore:
Timestamp:
06/16/2020 12:07:16 PM (6 years ago)
Author:
CardGate
Message:

fix: payment method title

Location:
cardgate
Files:
46 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cardgate/tags/3.1.17/cardgate.php

    r2249399 r2325086  
    77 * Text Domain: cardgate
    88 * Domain Path: /i18n/languages
    9  * Version: 3.1.16
     9 * Version: 3.1.17
    1010 * Requires at least: 4.4
    1111 * Author: CardGate
     
    231231                <form name="frmCardgate" action="' . $sAction_url . '" method="post">';
    232232        $sHtml .= wp_nonce_field('action854', 'nonce134');
    233         $sHtml .= '
    234                 <h2>' . '<img src="' . $icon_file . '" />&nbsp;' . __('CardGate Settings', 'cardgate') . '</h2>
    235                 <b>Version ' . get_option('cardgate_version') . '</b>
     233        $sHtml .= '<img style="max-width:100px;" src="' . $icon_file . '" />&nbsp;
     234                <b>Version ' . get_option('cardgate_version') . '</b>
     235                <h2>'. __('CardGate Settings', 'cardgate') . '</h2>
    236236                <table class="form-table">
    237237                    <tbody>
     
    327327        ?>
    328328<div class="wrap">
    329     <h2>
    330                 <?php '<img src="' . $icon_file . '" />&nbsp;' . __('CardGate Payments','cardgate') ?>
     329            <div><?php echo '<img style="max-width:100px;" src="' . $icon_file . '" />&nbsp;' ?></div>
     330            <h2>
     331                <?php echo __('CardGate Payments','cardgate') ?>
    331332            </h2>
    332333
  • cardgate/tags/3.1.17/classes/CGP_Common_Gateway.php

    r2124579 r2325086  
    2323    // ////////////////////////////////////////////////
    2424    public function __construct() {
     25        $this->init_form_fields();
     26        $this->init_settings();
     27        $this->title = (isset($this->settings['title']) && !empty($this->settings['title']) ? $this->settings['title'] : $this->payment_name);
     28        $this->description = $this->settings['description'];
     29
     30        add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
     31        add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
     32        add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
    2533    }
    2634
  • cardgate/tags/3.1.17/classes/WC_CardgateAfterpay.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23 
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );   
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateBancontact.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateBanktransfer.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateBillink.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateBitcoin.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateCreditcard.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23       parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateDirectDebit.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateGiftcard.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28  
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateGiropay.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateIdeal.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->supports = array ('products');
    25         $this->init_form_fields();
    26         $this->init_settings();
    27         $this->title = $this->payment_name;
    28         $this->description = $this->settings['description'];
    29      
    30         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    31         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    32         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3324    }
    3425}
  • cardgate/tags/3.1.17/classes/WC_CardgateIdealqr.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23 
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateKlarna.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateMistercash.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateOnlineueberweisen.php

    r2178570 r2325086  
    2121
    2222    public function __construct() {
    23 
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28 
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgatePayPal.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgatePaysafecard.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgatePaysafecash.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgatePrzelewy24.php

    r2046053 r2325086  
    2121 
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/classes/WC_CardgateSofortbanking.php

    r2046053 r2325086  
    2121 
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/tags/3.1.17/readme.txt

    r2263257 r2325086  
    55Requires at least: 4.2
    66Tested up to: 5.2
    7 Stable tag: 3.1.16
     7Stable tag: 3.1.17
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7575== Changelog ==
    7676
     77= 3.1.17 =
     78* Fix: Payment method title
     79* new admin logo
     80
    7781= 3.1.16 =
    7882* New pullConfig method implementation
  • cardgate/trunk/cardgate.php

    r2249399 r2325086  
    77 * Text Domain: cardgate
    88 * Domain Path: /i18n/languages
    9  * Version: 3.1.16
     9 * Version: 3.1.17
    1010 * Requires at least: 4.4
    1111 * Author: CardGate
     
    231231                <form name="frmCardgate" action="' . $sAction_url . '" method="post">';
    232232        $sHtml .= wp_nonce_field('action854', 'nonce134');
    233         $sHtml .= '
    234                 <h2>' . '<img src="' . $icon_file . '" />&nbsp;' . __('CardGate Settings', 'cardgate') . '</h2>
    235                 <b>Version ' . get_option('cardgate_version') . '</b>
     233        $sHtml .= '<img style="max-width:100px;" src="' . $icon_file . '" />&nbsp;
     234                <b>Version ' . get_option('cardgate_version') . '</b>
     235                <h2>'. __('CardGate Settings', 'cardgate') . '</h2>
    236236                <table class="form-table">
    237237                    <tbody>
     
    327327        ?>
    328328<div class="wrap">
    329     <h2>
    330                 <?php '<img src="' . $icon_file . '" />&nbsp;' . __('CardGate Payments','cardgate') ?>
     329            <div><?php echo '<img style="max-width:100px;" src="' . $icon_file . '" />&nbsp;' ?></div>
     330            <h2>
     331                <?php echo __('CardGate Payments','cardgate') ?>
    331332            </h2>
    332333
  • cardgate/trunk/classes/CGP_Common_Gateway.php

    r2124579 r2325086  
    2323    // ////////////////////////////////////////////////
    2424    public function __construct() {
     25        $this->init_form_fields();
     26        $this->init_settings();
     27        $this->title = (isset($this->settings['title']) && !empty($this->settings['title']) ? $this->settings['title'] : $this->payment_name);
     28        $this->description = $this->settings['description'];
     29
     30        add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
     31        add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
     32        add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
    2533    }
    2634
  • cardgate/trunk/classes/WC_CardgateAfterpay.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23 
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );   
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateBancontact.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateBanktransfer.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateBillink.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateBitcoin.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateCreditcard.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23       parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateDirectDebit.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateGiftcard.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28  
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateGiropay.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateIdeal.php

    r2046053 r2325086  
    2121   
    2222    public function __construct() {
    23        
    24         $this->supports = array ('products');
    25         $this->init_form_fields();
    26         $this->init_settings();
    27         $this->title = $this->payment_name;
    28         $this->description = $this->settings['description'];
    29      
    30         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    31         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    32         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3324    }
    3425}
  • cardgate/trunk/classes/WC_CardgateIdealqr.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23 
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateKlarna.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateMistercash.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateOnlineueberweisen.php

    r2178570 r2325086  
    2121
    2222    public function __construct() {
    23 
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28 
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgatePayPal.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgatePaysafecard.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgatePaysafecash.php

    r2046053 r2325086  
    2121
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28    
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgatePrzelewy24.php

    r2046053 r2325086  
    2121 
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28        
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/classes/WC_CardgateSofortbanking.php

    r2046053 r2325086  
    2121 
    2222    public function __construct() {
    23        
    24         $this->init_form_fields();
    25         $this->init_settings();
    26         $this->title = $this->payment_name;
    27         $this->description = $this->settings['description'];
    28      
    29         add_filter ( 'woocommerce_gateway_icon', array($this, 'modify_icon'), 20, 2 );
    30         add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
    31         add_action( 'woocommerce_receipt_' . $this->id, array( $this, 'receiptPage' ) );
     23        parent::__construct();
    3224    }
    3325}
  • cardgate/trunk/readme.txt

    r2263257 r2325086  
    55Requires at least: 4.2
    66Tested up to: 5.2
    7 Stable tag: 3.1.16
     7Stable tag: 3.1.17
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7575== Changelog ==
    7676
     77= 3.1.17 =
     78* Fix: Payment method title
     79* new admin logo
     80
    7781= 3.1.16 =
    7882* New pullConfig method implementation
Note: See TracChangeset for help on using the changeset viewer.