Plugin Directory

Changeset 3251799


Ignore:
Timestamp:
03/06/2025 03:13:50 PM (12 months ago)
Author:
oaron
Message:

3.8.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pay-via-barion-for-woocommerce/trunk/index.php

    r3251383 r3251799  
    44Plugin URI: http://github.com/szelpe/woocommerce-barion
    55Description: Adds the ability to WooCommerce to pay via Barion
    6 Version: 3.8.3
     6Version: 3.8.4
    77Author: Aron Ocsvari <[email protected]>
    88Author URI: https://bitron.hu
     
    2828
    2929    public function __construct() {
    30         add_action('init', [$this, 'init']);
     30        add_action('plugins_loaded', [$this, 'init'], 0);
    3131        add_action('plugins_loaded', [$this, 'plugin_loaded']);
    3232        add_action('before_woocommerce_init', [$this, 'declare_woocommerce_compatibility']);
     
    4646        require_once 'includes/class-wc-gateway-barion-profile-monitor.php';
    4747
    48         $this->profile_monitor = new WC_Gateway_Barion_Profile_Monitor();
     48       
    4949
    5050
     
    119119     **/
    120120    function woocommerce_add_gateway_barion_gateway($methods) {
     121        $this->profile_monitor = new WC_Gateway_Barion_Profile_Monitor();
    121122        $this->wc_gateway_barion = new WC_Gateway_Barion($this->profile_monitor);
    122 $barion_pixel = new WC_Gateway_Barion_Pixel($this->wc_gateway_barion->get_barion_pixel_id());       
     123$this->barion_pixel = new WC_Gateway_Barion_Pixel($this->wc_gateway_barion->get_barion_pixel_id());     
    123124        $methods[] = $this->wc_gateway_barion;
    124125        return $methods;
Note: See TracChangeset for help on using the changeset viewer.