Title: EasyEl's Replies | WordPress.org

---

# EasyEl

  [  ](https://wordpress.org/support/users/easyel/)

 *   [Profile](https://wordpress.org/support/users/easyel/)
 *   [Topics Started](https://wordpress.org/support/users/easyel/topics/)
 *   [Replies Created](https://wordpress.org/support/users/easyel/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/easyel/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/easyel/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/easyel/engagements/)
 *   [Favorites](https://wordpress.org/support/users/easyel/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/easyel/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/easyel/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Payments for WooCommerce] Paid but still pending](https://wordpress.org/support/topic/paid-but-still-pending/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/paid-but-still-pending/#post-18074344)
 * Femi,
 * correct but super important as the plugin/mollie will fail due to this. Mollie
   did not communicate the change.
 * Long story short: the two new IPs were getting auto-blocked by Cloudflare. I 
   added them to the whitelist and it works. Just as an info for you in case you
   get more requests like this.
 * Best, El
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Payments for WooCommerce] Paid but still pending](https://wordpress.org/support/topic/paid-but-still-pending/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/paid-but-still-pending/#post-18067911)
 * It seems like you added new source IPs to your server list.
 * 34.90.108.3
 * 34.147.124.17
 * Those were not in the old list and have been blocked by Cloudflare. Can we get
   a notification if you add / alter the source server IP´s?[](https://dash.cloudflare.com/d52c767f7c2448b3838b8910b3b2a128/security-center/investigate?ipv4=34.147.124.17)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Payments for WooCommerce] Paid but still pending](https://wordpress.org/support/topic/paid-but-still-pending/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/paid-but-still-pending/#post-18067852)
 * Femi, debugged and the return url is there. The order manipulation still does
   not work. How can we share the Logs securely with you?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Payments for WooCommerce] Paid but still pending](https://wordpress.org/support/topic/paid-but-still-pending/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/paid-but-still-pending/#post-18067004)
 * We switched on logging but downgraded to 7.8.0, so you will probably have to 
   wait for other reports. Your support mentioned that the webhook_url is empty,
   but we have kept everything the same on our end. The webhook_url is obviously
   essential, but I presume that this can only be set via the API and is not plugin-
   related. Best, Elmar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] Fetch error from version 8.2.0](https://wordpress.org/support/topic/fetch-error-from-version-8-2-0/)
 *  [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/fetch-error-from-version-8-2-0/#post-18023999)
 * Yes, the error is insufficeient testing by the dev team. Downgrade to last version
   and it will work 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Analytics for WooCommerce] No data since March 6th](https://wordpress.org/support/topic/no-data-since-march-6th/)
 *  [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-data-since-march-6th/#post-17508756)
 * Same date. Same issue. The plugin is broken currently.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Payments for WooCommerce] Do not update to 7.3.2!](https://wordpress.org/support/topic/do-not-update-to-7-3-2/)
 *  [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/do-not-update-to-7-3-2/#post-16015487)
 * Yes, same issue. Mollie needs to re-eval their quality testing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mollie Payments for WooCommerce] Latest version is broken!](https://wordpress.org/support/topic/latest-version-is-broken-7/)
 *  [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/latest-version-is-broken-7/#post-16015484)
 * Mollie seems to have one of the worst testing setups possible. Same issue. No
   idea on how things like that can slip through to production. Crazy.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] WooCommerce Currency Converter cached](https://wordpress.org/support/topic/woocommerce-currency-converter-cached/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-currency-converter-cached/#post-11379295)
 * Hi Sasa,
 * I got it to work – appreciate the feedback! Actually most of the issues I had
   where caused by GDPR consent plugins even when cookies were set to essential.
   Not sure what causes this but there is definitely a challenge to implement sich
   together with cookies/caching.
 * Best,
    El
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] WooCommerce Currency Converter cached](https://wordpress.org/support/topic/woocommerce-currency-converter-cached/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-currency-converter-cached/#post-11375777)
 * Hi Sasa,
 * it is literally “woocommerce_current_currency” that stores the value. I would
   also like to exclude
 * aelia_cs_selected_currency
    aelia_customer_country aelia_customer_state aelia_billing_country
   aelia_tax_exempt
 * Cookies from being cached.
 * Best,
    Elmar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Aelia Tax Display and Currency Converter Widget](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/#post-11366397)
 * Sasa,
 * yes it is an official plugin from Aelia. I added the code and it does appear 
   in the error log. So it seems to load but not work properly.
 * Best,
    Elmar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Aelia Tax Display and Currency Converter Widget](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/#post-11363765)
 * And yes, there is an entry for it in wp-cache-config.php:
 *     ```
       $wpsc_plugins = array ( 0 => 'wp-content/wpsc-plugins/aelia-wpsupercache-ac-plugin.php', );
       $wp_cache_mobile_groups = '';
       $wp_cache_debug_username = 'XXX';
       $wp_cache_home_path = '/';
       $wp_cache_slash_check = 1;
       $cache_page_secret = 'XXX';
       $cache_time_interval = '600';
       if ( ! defined('WPCACHEHOME') )
       	define( 'WPCACHEHOME', WP_CONTENT_DIR . "/plugins/wp-super-cache/" );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Aelia Tax Display and Currency Converter Widget](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/#post-11363739)
 * Sasa, very helpful. I initialized with the init code in functions and can confirm
   that the plugin does not load. File and directory permissions are 755. Below 
   is the plugin code. I checked for the Global in the last line – it is not set.
   No errors in log.
 * Plugin Code:
 *     ```
       <?php
       /**
        * Extends WP Super Cache to allow it to work correctly with Aelia Internationalisation
        * solutions.
        *
        * @author Aelia <support@aelia.co>
        */
       class Aelia_Internationalisation_WPSuperCache {
       	const VERSION = '1.0.1.160401';
   
       	// @var Aelia_Internationalisation_SuperCache The class instance
       	protected static $instance;
   
       	// @var string The cache key that Super Cache should use to retrieve the cached content
       	protected $cache_key;
   
       	// @var array A list of the cookies that should be processed to build the cache key
       	protected function expected_cookies() {
       		return array(
       			'aelia_cs_selected_currency',
       			'aelia_customer_country',
       			'aelia_customer_state',
       			'aelia_billing_country',
       			'aelia_tax_exempt',
       		);
       	}
   
       	/**
       	 * Returns the cache key to be used by WP Super Cache. The key takes into account
       	 * elements such as the selected currency, customer's country, customer's
       	 * State/county, and so on.
       	 *
       	 * @return string
       	 */
       	protected function get_cache_key() {
       		$cache_key = '';
       		foreach($this->expected_cookies() as $cookie_name) {
       			if(!empty($_COOKIE[$cookie_name])) {
       				$cache_key .= $_COOKIE[$cookie_name];
       			}
       		}
       		return $cache_key;
       	}
   
       	/**
       	 * Class constructor.
       	 */
       	public function __construct() {
       		$this->cache_key = $this->get_cache_key();
   
       		// If one or more cookies are set by the Aelia internationalisation plugins,
       		// enable the callback that will set the cache key
       		if(!empty($this->cache_key)) {
       			add_cacheaction('wp_cache_key', array($this, 'wp_cache_key'), 10, 1);
       		}
       		else {
       			// Debug
       			//var_dump("NO COOKIES FOUND. ASSUMING FIRST TIME VISITOR AND DISABLING CACHE");
       			if(!defined('DONOTCACHEPAGE')) {
       				define('DONOTCACHEPAGE', true);
       			}
       		}
       	}
   
       	/**
       	 * Initialises the plugin.
       	 */
       	public static function init() {
       		self::$instance = new self();
       	}
   
       	/**
       	 * Extends the standard cache key with one that includes additional arguments,
       	 * such as customer's currency, country, state, etc.
       	 *
       	 * @param string $cache_key The original cache key passed by WP Super Cache.
       	 * @return string The updated cache key.
       	 */
       	public function wp_cache_key($cache_key) {
       		$cache_key .= (string)$this->cache_key;
       		// Debug
       		//var_dump("CACHE KEY FOR PAGE: {$cache_key}");
       		return $cache_key;
       	}
       }
   
       $GLOBALS['aelia-internationalisation-wpsupercache']
       ```
   
 *  = Aelia_Internationalisation_WPSuperCache::init();
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Aelia Tax Display and Currency Converter Widget](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/#post-11362245)
 * Sasa,
 * it does not seem to fire. Do you have demo code where to place the plugin call
   in the functions.php? Just paste the do_action without hook or filter like this?
 * do_action( ‘wpsc_add_plugin’, ABSPATH . ‘wp-content/wpsc-plugins/aelia-wpsupercache-
   ac-plugin.php’ );
 * Best,
    Elmar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Aelia Tax Display and Currency Converter Widget](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/)
 *  Thread Starter [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/aelia-tax-display-and-currency-converter-widget/#post-11361077)
 * Sasa,
 * thank you. Is there a programmatic way to check wether the plugin was loaded?
 * Best,
    Elmar

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/easyel/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/easyel/replies/page/2/?output_format=md)