Changeset 3251799
- Timestamp:
- 03/06/2025 03:13:50 PM (12 months ago)
- File:
-
- 1 edited
-
pay-via-barion-for-woocommerce/trunk/index.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pay-via-barion-for-woocommerce/trunk/index.php
r3251383 r3251799 4 4 Plugin URI: http://github.com/szelpe/woocommerce-barion 5 5 Description: Adds the ability to WooCommerce to pay via Barion 6 Version: 3.8. 36 Version: 3.8.4 7 7 Author: Aron Ocsvari <[email protected]> 8 8 Author URI: https://bitron.hu … … 28 28 29 29 public function __construct() { 30 add_action(' init', [$this, 'init']);30 add_action('plugins_loaded', [$this, 'init'], 0); 31 31 add_action('plugins_loaded', [$this, 'plugin_loaded']); 32 32 add_action('before_woocommerce_init', [$this, 'declare_woocommerce_compatibility']); … … 46 46 require_once 'includes/class-wc-gateway-barion-profile-monitor.php'; 47 47 48 $this->profile_monitor = new WC_Gateway_Barion_Profile_Monitor();48 49 49 50 50 … … 119 119 **/ 120 120 function woocommerce_add_gateway_barion_gateway($methods) { 121 $this->profile_monitor = new WC_Gateway_Barion_Profile_Monitor(); 121 122 $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()); 123 124 $methods[] = $this->wc_gateway_barion; 124 125 return $methods;
Note: See TracChangeset
for help on using the changeset viewer.